Roshrini commented on a change in pull request #12633: Onnx version update from 
1.2.1 to 1.3 in CI
URL: https://github.com/apache/incubator-mxnet/pull/12633#discussion_r219989510
 
 

 ##########
 File path: python/mxnet/contrib/onnx/mx2onnx/_op_translations.py
 ##########
 @@ -64,11 +64,11 @@
 def import_onnx_modules():
     """ To make sure ONNX is runtime dependency, it is imported used only when 
needed"""
     try:
-        from onnx import helper, numpy_helper, mapping
+        from onnx import helper, numpy_helper, mapping, TensorProto
 
 Review comment:
   Importing "onnx" in import_onnx_modules now instead of helper functions.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to