Files
apache--tvm/python/tvm/runtime
Tianqi Chen e68450dacf [PY][FFI] Introduce PyNativeObject, enable runtime.String to subclass str (#5426)
To make runtime.String to work as naturally as possible in the python side,
we make it sub-class the python's str object. Note that however, we cannot
sub-class Object at the same time due to python's type layout constraint.

We introduce a PyNativeObject class to handle this kind of object sub-classing
and updated the FFI to handle PyNativeObject classes.
2020-04-23 22:06:05 -07:00
..