tvm_ffi.remove_global_func#
- tvm_ffi.remove_global_func(name)[source]#
Remove a global function by name.
Examples
import tvm_ffi @tvm_ffi.register_global_func("my.temp") def temp(): return 42 assert tvm_ffi.get_global_func("my.temp", allow_missing=True) is not None tvm_ffi.remove_global_func("my.temp") assert tvm_ffi.get_global_func("my.temp", allow_missing=True) is None