[TVM Discuss] [Development] TVMError: Check failed: type_code_ == kDLInt (2 vs. 0) : expected int but get float

2019-08-13 Thread Zacario Li via TVM Discuss
Sorry for that. I am a beginner, I'm not familiar with TVM. Could you give me some hints about how to add debug logs? Maybe this will help me. --- [Visit Topic](https://discuss.tvm.ai/t/tvmerror-check-failed-type-code-kdlint-2-vs-0-expected-int-but-get-float/3703/7) to respond. You are

[TVM Discuss] [Development] TVMError: Check failed: type_code_ == kDLInt (2 vs. 0) : expected int but get float

2019-08-12 Thread Zacario Li via TVM Discuss
Ok, fixed it. Due to my WSL env. After I move my code to real ubuntu env, it is ok now. --- [Visit Topic](https://discuss.tvm.ai/t/tvmerror-check-failed-type-code-kdlint-2-vs-0-expected-int-but-get-float/3703/5) to respond. You are receiving this because you enabled mailing list mode. To

[TVM Discuss] [Development] TVMError: Check failed: type_code_ == kDLInt (2 vs. 0) : expected int but get float

2019-08-11 Thread Zacario Li via TVM Discuss
I defined my OP in fun(expr, expr, int, int, double, double), and I passed the params in with corresponding type and shape. Is there any hint for me how to debug it? --- [Visit Topic](https://discuss.tvm.ai/t/tvmerror-check-failed-type-code-kdlint-2-vs-0-expected-int-but-get-float/3703/3)

[TVM Discuss] [Development] TVMError: Check failed: type_code_ == kDLInt (2 vs. 0) : expected int but get float

2019-08-11 Thread Zacario Li via TVM Discuss
After I added a new OP in the project when I run the op test wrote by myself, the error comes out. I double-checked the params, the data type is right, I don't know why this error happens. tvm._ffi.base.TVMError: Traceback (most recent call last): [bt] (2) /usr/local/lib/python3.6/

[TVM Discuss] [Development] [Relay][op] How to understand GetValidCountRel?

2019-08-07 Thread Zacario Li via TVM Discuss
I'm trying to add my own OP in relay. Here is an existing function, but I can't understand it. Does anyone give me some hints?(tvm/src/relay/op/vision/nms.cc) bool GetValidCountRel(const Array& types, int num_inputs, const Attrs& attrs,

[TVM Discuss] [Development] [ONNX] Missing and outdated operators

2019-07-23 Thread Zacario Li via TVM Discuss
We meet the same situation. Are you going to add V10 Slice OP? Or try to modify V10 Slice OP to V1? --- [Visit Topic](https://discuss.tvm.ai/t/onnx-missing-and-outdated-operators/3173/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these