kevinthesun commented on a change in pull request #5588:
URL: https://github.com/apache/incubator-tvm/pull/5588#discussion_r424747754
##########
File path: python/tvm/relay/frontend/tensorflow.py
##########
@@ -1378,9 +1378,11 @@ def _gather_nd():
def _impl(inputs, attr, params, mod):
indices_dims = len(_infer_shape(inputs[1], mod))
indices = _op.transpose(inputs[1], axes=[-1] +
list(range(indices_dims-1)))
+ attr_new = {}
+ attr_new['one_dim_support'] = True
Review comment:
Looks like topi gather_nd supports 1 dim now. I'm wondering whether we
really need a new attribute for this.
----------------------------------------------------------------
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]