|
tvm
|
A serializable function backed by TVM's global environment. More...
#include <env_func.h>
Public Member Functions | |
| EnvFuncNode () | |
| constructor More... | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.EnvFunc", EnvFuncNode, Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Public Attributes | |
| ffi::String | name |
| Unique name of the global function. More... | |
| ffi::Function | func |
| The internal packed function. More... | |
Static Public Attributes | |
| static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
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.
|
inline |
constructor
|
inlinestatic |
| tvm::EnvFuncNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "ir.EnvFunc" | , |
| EnvFuncNode | , | ||
| Object | |||
| ) |
|
staticconstexpr |
| ffi::Function tvm::EnvFuncNode::func |
The internal packed function.
| ffi::String tvm::EnvFuncNode::name |
Unique name of the global function.