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 2021/03/16 21:30:04 UTC

[GitHub] [tvm] comaniac commented on a change in pull request #7675: [Torch] Remove unnecessary reshapes for batch_matmul

comaniac commented on a change in pull request #7675:
URL: https://github.com/apache/tvm/pull/7675#discussion_r595554053



##########
File path: tests/python/frontend/pytorch/test_forward.py
##########
@@ -201,6 +201,7 @@ def verify_model(model_name, input_data=[], custom_convert_map={}, rtol=1e-5, at
     input_names = ["input{}".format(idx) for idx, inp in enumerate(baseline_input)]
     input_shapes = list(zip(input_names, [inp.shape for inp in baseline_input]))
     mod, params = relay.frontend.from_pytorch(trace, input_shapes, custom_convert_map)
+    print(relay.transform.InferType()(mod)["main"])

Review comment:
       Yeah just found that. Thanks :)




----------------------------------------------------------------
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