A serializable function backed by TVM's global environment.
More...
#include <env_func.h>
|
| ffi::String | name |
| | Unique name of the global function.
|
| |
| ffi::Function | func |
| | The internal packed function.
|
| |
A serializable function backed by TVM's global environment.
This is a wrapper to enable serializable global ffi::Function. An EnvFunc is saved by its name in the global registry under the assumption that the same function is registered during load.
- See also
- EnvFunc
◆ EnvFuncObj()
| tvm::EnvFuncObj::EnvFuncObj |
( |
| ) |
|
|
inline |
◆ RegisterReflection()
| static void tvm::EnvFuncObj::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()
| tvm::EnvFuncObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL |
( |
"ir.EnvFunc" |
, |
|
|
EnvFuncObj |
, |
|
|
ffi::Object |
|
|
) |
| |
◆ _type_s_eq_hash_kind
| constexpr TVMFFISEqHashKind tvm::EnvFuncObj::_type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
|
staticconstexpr |
◆ func
| ffi::Function tvm::EnvFuncObj::func |
The internal packed function.
◆ name
| ffi::String tvm::EnvFuncObj::name |
Unique name of the global function.
The documentation for this class was generated from the following file: