You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by chenugray via Apache TVM Discuss <no...@discuss.tvm.ai> on 2022/02/09 09:04:17 UTC

[Apache TVM Discuss] [Questions] [op testing] single op ir testing batch matmul


    df_parsed = tvm.parser.parse_expr(
    '''
    fn (%p0527: Tensor[(16, 256, 256), float32], %p1361: Tensor[(16, 64, 256), float32]) -> Tensor[(16, 256, 64), float32] {
    nn.batch_matmul(%p0527, %p1361, transpose_b=True) /* ty=Tensor[(16, 256, 64), float32] */
  }
    ''')

the code above will rise a error

![image|690x84](upload://pustHlusKr648FZeslbUYOetbSZ.png) 


@tqchen @masahi 

it seems like transpose_b attr has problems, if i removed.





---
[Visit Topic](https://discuss.tvm.apache.org/t/op-testing-single-op-ir-testing-batch-matmul/12049/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/00915fc9f426ed6c138840626a56848eaab9e63bad5635d51e4ea4eaab2c8088).

[Apache TVM Discuss] [Questions] [op testing] single op ir testing batch matmul

Posted by chenugray via Apache TVM Discuss <no...@discuss.tvm.ai>.

[[BUG]fix batch matmul not set attrs_type_key, when using tvm.parse.parse_expr will raise error.](https://github.com/apache/tvm/pull/10209)





---
[Visit Topic](https://discuss.tvm.apache.org/t/op-testing-single-op-ir-testing-batch-matmul/12049/4) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/cd27c4de38053b1590028d9dd6f20d8cb8b7f4c5c806651f1256faa69bd834e6).

[Apache TVM Discuss] [Questions] [op testing] single op ir testing batch matmul

Posted by masahi via Apache TVM Discuss <no...@discuss.tvm.ai>.

Good catch, can you send a PR to fix it?





---
[Visit Topic](https://discuss.tvm.apache.org/t/op-testing-single-op-ir-testing-batch-matmul/12049/3) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/1f6374d7d48b69b204176b89a92c18563f8e9dce13dc5fa7540b8cf85cc82e12).

[Apache TVM Discuss] [Questions] [op testing] single op ir testing batch matmul

Posted by chenugray via Apache TVM Discuss <no...@discuss.tvm.ai>.

ok, the op Registry do have some problem.

![image|690x110](upload://tY562Weifz9EWup3XmYRF2CthqJ.png) 

batch atmul attrs not set the attrs type.





---
[Visit Topic](https://discuss.tvm.apache.org/t/op-testing-single-op-ir-testing-batch-matmul/12049/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/7a36c2b4ad88257a9a47390d1c651697baec961199559a6366176c56eac0d26a).