jwfromm commented on code in PR #13615:
URL: https://github.com/apache/tvm/pull/13615#discussion_r1048989894
##########
src/relay/op/nn/nn.h:
##########
@@ -115,20 +115,36 @@ bool MatmulRel(const Array<Type>& types, int num_inputs,
const Attrs& attrs,
auto sb = B_shape.size();
if (transpose_a && transpose_b) {
auto tmp = A_shape[sa - 2];
- A_shape[sa - 2] = B_shape[sb - 1];
- B_shape[sb - 1] = tmp;
+ if (A_shape[sa - 2].as<tir::AnyNode>()) {
Review Comment:
Yeah good call, updated in latest push.
--
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]