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