24 #ifndef TVM_RUNTIME_CONTAINER_CLOSURE_H_ 25 #define TVM_RUNTIME_CONTAINER_CLOSURE_H_ 39 static constexpr
const char*
_type_key =
"runtime.Closure";
52 #endif // TVM_RUNTIME_CONTAINER_CLOSURE_H_ TVM_DECLARE_BASE_OBJECT_INFO(ClosureObj, Object)
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
static constexpr const char * _type_key
Definition: closure.h:39
Base utilities for common POD(plain old data) container types.
base class of all object containers.
Definition: object.h:167
static constexpr const uint32_t _type_index
Definition: closure.h:38
reference to closure.
Definition: closure.h:44
#define TVM_DEFINE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:713
Base class of all object reference.
Definition: object.h:511
An object representing a closure. This object is used by both the Relay VM and interpreter.
Definition: closure.h:36