Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vandanavk committed Jan 10, 2020
1 parent ce1dbca commit dae8abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mxnet/contrib/onnx/mx2onnx/_op_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit dae8abe

Please sign in to comment.