Ah, I guess, I found my issue.
I forgot to implement the Run function.
Weight tensors are initialized inside the Init function, but inputs at Run.
Thank you very much
---
[Visit
Topic](https://discuss.tvm.apache.org/t/byoc-runtime-access-tensor-values/7802/7)
to respond.
You are receivi
It should not happen because the example I pointed out was for data tensors.
Did you set inputs before running the graph runtime?
---
[Visit
Topic](https://discuss.tvm.apache.org/t/byoc-runtime-access-tensor-values/7802/5)
to respond.
You are receiving this because you enabled mailing li
Ok, thank you, that works, but for some reason only for constant tensors.
The input tensors still have a nullpointer instead of the data field.
---
[Visit
Topic](https://discuss.tvm.apache.org/t/byoc-runtime-access-tensor-values/7802/4)
to respond.
You are receiving this because you enab
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
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
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