yuchaoli commented on a change in pull request #7845:
URL: https://github.com/apache/tvm/pull/7845#discussion_r612988061
##########
File path: python/tvm/relay/frontend/pytorch.py
##########
@@ -1607,6 +1607,12 @@ def matmul(self, inputs, input_types):
return _op.reshape(output, [*a_shape[:-2], a_shape[-2],
b_shape[-1]])
return output
+ # Reshape a or b into a 2 dimensional tensor
Review comment:
Done. To avoid generating redundant reshape/transpose op, I handle the
dim of b independently.
--
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]