Warn against using the name RELU1 again as an op.
authorAndrew Selle <aselle@google.com>
Thu, 18 Jan 2018 18:45:25 +0000 (10:45 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 18 Jan 2018 18:48:58 +0000 (10:48 -0800)
PiperOrigin-RevId: 182403185

tensorflow/contrib/lite/schema/schema.fbs

index 6bc86859b247a94dce22e3f2c713aabc58a44c4c..80c05f34cbc438173fb98c4480bb3fe66d9bb58e 100644 (file)
@@ -89,6 +89,9 @@ enum BuiltinOperator : byte {
   MAX_POOL_2D = 17,
   MUL = 18,
   RELU = 19,
+  // NOTE(aselle): RELU_N1_TO_1 used to be called RELU1, but it was renamed
+  // since different model developers use RELU1 in different ways. Never
+  // create another op called RELU1.
   RELU_N1_TO_1 = 20,
   RELU6 = 21,
   RESHAPE = 22,