I don't think serialization would necessarily preclude you from having a 1-1 
relation between C++ and Python objects -- deserializing would create a new C++ 
object so I would not expect that you get back the same Python object. Now I 
can see how we would not serialize all stuff people attach to it, but I think 
the much more modest goal of having a better correspondence at runtime would be 
feasible by linking the Python object to the C++ object if the Python object 
exists and if it does not setting up the link when we first create a Python 
object from it.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/round-tripping-objects-through-the-ffi/8440/8)
 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/b5b3c12880dcba1b9afdc5cfa0a7e3425c072f8e06665fef9e794e42cb85067c).

Reply via email to