[TVM Discuss] [Questions] Replicating operator with pattern rewrite got stuck in an infinite loop

2020-09-02 Thread Steve via TVM Discuss
Hi All, I was experimenting to decompose a relay expression (operator or a function) into the same kind of operator. Mainly, if I have to do vector addition, I just want to replicate the number of additions but each addition operates on part of the data. For example, to add two vectors of s

[TVM Discuss] [Questions] BYOC: Runtime access Tensor values

2020-09-02 Thread Cody H. Yu via TVM Discuss
Here is an example of Zhi's response. The expression `data_entry_[eid]->data` accesses the values of the tesnor. https://github.com/apache/incubator-tvm/blob/master/src/runtime/contrib/dnnl/dnnl_json_runtime.cc#L71 --- [Visit Topic](https://discuss.tvm.ai/t/byoc-runtime-access-tensor-valu

[TVM Discuss] [Questions] BYOC: Runtime access Tensor values

2020-09-02 Thread Zhi via TVM Discuss
The inputs are passed through NDArray in the DNNL example. You can use nd_array->data to get the data pointer. --- [Visit Topic](https://discuss.tvm.ai/t/byoc-runtime-access-tensor-values/7802/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe fr

[TVM Discuss] [Questions] Realy build output in C++

2020-09-02 Thread Aleksandar Babic via TVM Discuss
Hi Can anyone can give some pointers on how to use output(s) of relay.build(...) from within a C++? There is an example to use output of tvm.build(), but I can't still figure it out. Cheers. --- [Visit Topic](https://discuss.tvm.ai/t/realy-build-output-in-c/7806/1) to respond. You are r

[TVM Discuss] [Questions] BYOC: Runtime access Tensor values

2020-09-02 Thread Max Sponner via TVM Discuss
Hi, I am working on a BYOC backend and finally reached the runtime level. But I've looked at the DNNL JSON example (I am using JSON as well) and have not found a way to access the real tensor values to serialize them for my target. >From the JSON serialization I can access the shapes, etc, but n

[TVM Discuss] [Questions] Deploy the Pretrained Model on Raspberry Pi ERROR

2020-09-02 Thread Fourth Teerakapibal via TVM Discuss
Try changing the opt_level to 2 instead of 3 --- [Visit Topic](https://discuss.tvm.ai/t/deploy-the-pretrained-model-on-raspberry-pi-error/7077/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.