ymwangg commented on a change in pull request #8440:
URL: https://github.com/apache/tvm/pull/8440#discussion_r668311147
##########
File path: python/tvm/relay/frontend/onnx.py
##########
@@ -678,25 +678,32 @@ def _impl_v1(cls, inputs, attr, params):
# When performing a batch matmul, we need to properly handle N-dim
shapes.
if a_rank > 2 or b_rank > 2:
- def flatten_to_3d(x, x_shape):
+ def flatten_to_nd(x, x_shape, nd=3):
Review comment:
Adopted, good suggestion!
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]