VeriSilicon / TIM-VX

VeriSilicon Tensor Interface Module
Other
216 stars 85 forks source link

Ways to interact between C++ and Python #684

Closed AIYoungcino closed 2 months ago

AIYoungcino commented 4 months ago

hi,During my first read of the tim-vx code, I have a naive question. I would like to know how the vsi_nn_op and Python operators interact with each other. Specifically, I'm curious if they utilize Pybind, which is commonly used by PyTorch, or if they rely on ctypes, as used by TVM, or any other approach. thanks alot!

AIYoungcino commented 4 months ago

Thank you, I have found out the truth, and it is unrelated to tim-vx. This happens in TVM.