Improve error message for custom tflite operators (#3284)
authorAlexander Pivovarov <pivovaa@amazon.com>
Wed, 5 Jun 2019 16:29:43 +0000 (09:29 -0700)
committerTianqi Chen <tqchen@users.noreply.github.com>
Wed, 5 Jun 2019 16:29:43 +0000 (09:29 -0700)
python/tvm/relay/frontend/tflite.py

index bfd63bb..3c3808d 100644 (file)
@@ -112,7 +112,7 @@ class OperatorConverter(object):
         op_code_str = self.builtin_op_code[op_code_id]
         if op_code_id == BuiltinOperator.CUSTOM:
             # Custom operator
-            raise NotImplementedError("Not Support Custom Operator Now")
+            raise NotImplementedError("Custom operators are currently not supported")
         return op_code_str
 
     def get_input_tensors(self, op):