anirudhacharya commented on a change in pull request #10118: [MXNET-106][ONNX-MXNET] Adding ONNX Model zoo tests. URL: https://github.com/apache/incubator-mxnet/pull/10118#discussion_r177314966
########## File path: python/mxnet/contrib/onnx/_import/op_translations.py ########## @@ -328,6 +354,17 @@ def squeeze(attrs, inputs, cls): mxnet_op = symbol.split(mxnet_op, axis=i-1, num_outputs=1, squeeze_axis=1) return mxnet_op, new_attrs, inputs +def take(attrs, inputs, cls): + """ Takes elements from an input array along the given axis. + Currently only slicing along axis 0 is supported for now.""" + return 'take', attrs, inputs Review comment: will raise a UserWarning ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services