From dae8abe341fd9dd86a9029222f9ee4f176b901fa Mon Sep 17 00:00:00 2001 From: Vandana Kannan Date: Fri, 30 Aug 2019 15:54:53 -0700 Subject: [PATCH] Correct comment --- python/mxnet/contrib/onnx/mx2onnx/_op_translations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mxnet/contrib/onnx/mx2onnx/_op_translations.py b/python/mxnet/contrib/onnx/mx2onnx/_op_translations.py index 40131b42f562..aeaf4a1b9497 100644 --- a/python/mxnet/contrib/onnx/mx2onnx/_op_translations.py +++ b/python/mxnet/contrib/onnx/mx2onnx/_op_translations.py @@ -1502,7 +1502,7 @@ def convert_slice_axis(node, **kwargs): ends = attrs.get("end", None) if not ends or ends == 'None': # ONNX doesn't support None for ends. Since ends=None depicts - # length of dimension, passing INT_MAX in this case. + # length of dimension, passing dimension in this case. in_shape = kwargs['in_shape'][0] ends = in_shape[axes]