I have been trying to study how TVM does layout transformation during runtime 
(eg. NHWC16c -> NHWC4c, etc.). Where in the source code is the required data 
copy or move of the data tensor handled?
Also, where is the same for the weights tensor handled?

Is it in the `CopyDataFromTo` function of class `CPUDeviceAPI` in 
`src/runtime/cpu_device_api.cc`?





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/where-does-layout-transform-data-copy-move-happen/11523/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/e647260ce076e868a7c233373ed7104d38cef2a8fdbd877ca2b5f354b6066aea).

Reply via email to