Class EnvFuncObj#

Inheritance Relationships#

Base Type#

  • public ffi::Object

Class Documentation#

class EnvFuncObj : public ffi::Object#

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

Public Functions

inline EnvFuncObj()#

constructor

Public Members

ffi::String name#

Unique name of the global function.

ffi::Function func#

The internal packed function.

Public Static Functions

static inline void RegisterReflection()#
static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#