josephevans commented on a change in pull request #19017:
URL: https://github.com/apache/incubator-mxnet/pull/19017#discussion_r482710182
##########
File path: python/mxnet/contrib/onnx/mx2onnx/_op_translations.py
##########
@@ -462,6 +462,7 @@ def convert_pad(node, **kwargs):
"""Map MXNet's pad operator attributes to onnx's Pad operator
and return the created node.
"""
+ opset_version = kwargs["opset_version"]
Review comment:
It will always be available - it defaults to the latest opset version
that is supported by the ONNX package installed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]