[REFACTOR][PY] tvm._ffi (#4813)
* [REFACTOR][PY] tvm._ffi - Remove from __future__ import absolute_import in the related files as they are no longer needed if the code only runs in python3 - Remove reverse dependency of _ctypes _cython to object_generic. - function.py -> packed_func.py - Function -> PackedFunc - all registry related logics goes to tvm._ffi.registry - Use absolute references for FFI related calls. - tvm._ffi.register_object - tvm._ffi.register_func - tvm._ffi.get_global_func * Move get global func to the ffi side
Showing
python/tvm/_ffi/function.py
deleted
100644 → 0
python/tvm/_ffi/module.py
0 → 100644
python/tvm/_ffi/packed_func.py
0 → 100644
python/tvm/_ffi/registry.py
0 → 100644
python/tvm/object.py
deleted
100644 → 0
Please
register
or
sign in
to comment