[TVM Discuss] [Questions] Parameters: { silent } might not be used

2020-05-30 Thread Heliqi via TVM Discuss
I change to verbosity=0 ,but but there is the warning ``` Parameters: { silent } might not be used. This may not be accurate due to some parameters are only used in language bindings but passed down to XGBoost core. Or some parameters are not used but slip through this verification. Pl

[TVM Discuss] [Questions] TVM terms: relay, topi, tir, te

2020-05-30 Thread Cxcxcxcx via TVM Discuss
Thanks for the summary. I noticed that relay.build runs all the way and runs codegen. Does relay explicitly convert RelayIR to tir? Is there an interface for that? (Presumably, it would be a way to see/debug what relay has done. Or maybe there is a better way to do the debugging?) --- [Vi

[TVM Discuss] [Questions] [PattenLang]How to match op according to element type of input and output

2020-05-30 Thread Cody H. Yu via TVM Discuss
Of course. Shape is a part of the type. --- [Visit Topic](https://discuss.tvm.ai/t/pattenlang-how-to-match-op-according-to-element-type-of-input-and-output/6846/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](ht

[TVM Discuss] [Questions] [PattenLang]How to match op according to element type of input and output

2020-05-30 Thread Lixiaoquan via TVM Discuss
Can it match shape other than (10,10)? --- [Visit Topic](https://discuss.tvm.ai/t/pattenlang-how-to-match-op-according-to-element-type-of-input-and-output/6846/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](htt

[TVM Discuss] [Questions] [PattenLang]How to match op according to element type of input and output

2020-05-30 Thread Cody H. Yu via TVM Discuss
`has_type` is not necessary to match the final expression. It can also be used like the following to check the type of an op: ```python in1 = wildcard() in2 = wildcard() pat = is_op('add')(in1, in2).has_type(relay.TensorType((10, 10), 'float32')) x = relay.var('x', shape=(10, 10), dtype='float

[TVM Discuss] [Questions] [PattenLang]How to match op according to element type of input and output

2020-05-30 Thread Lixiaoquan via TVM Discuss
Current TypePattern requires type in pattern matches type in expr exactly. Is there a way to match only according to element type. For example, match a fp16 *add*? --- [Visit Topic](https://discuss.tvm.ai/t/pattenlang-how-to-match-op-according-to-element-type-of-input-and-output/6846/1)