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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
arith | Loading commit data... | |
autotvm | Loading commit data... | |
contrib | Loading commit data... | |
driver | Loading commit data... | |
ir | Loading commit data... | |
node | Loading commit data... | |
printer | Loading commit data... | |
relay | Loading commit data... | |
runtime | Loading commit data... | |
support | Loading commit data... | |
target | Loading commit data... | |
te | Loading commit data... | |
tir | Loading commit data... | |
README.md | Loading commit data... |