You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/09/03 03:11:53 UTC

[GitHub] [incubator-tvm] zhiics commented on a change in pull request #6316: Dynamic Strided Slice

zhiics commented on a change in pull request #6316:
URL: https://github.com/apache/incubator-tvm/pull/6316#discussion_r482676936



##########
File path: python/tvm/relay/frontend/mxnet.py
##########
@@ -545,8 +545,8 @@ def _mx_slice_axis(inputs, attrs):
             begin.append(ax_beg)
             end.append(ax_end)
     return _op.strided_slice(inputs[0],
-                             _expr.const(begin, dtype="int32"),
-                             _expr.const(end, dtype="int32"))
+                             begin,
+                             end)

Review comment:
       I think this could be one-liner




----------------------------------------------------------------
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:
users@infra.apache.org