24 #ifndef TVM_RUNTIME_CONTAINER_CLOSURE_H_
25 #define TVM_RUNTIME_CONTAINER_CLOSURE_H_
39 static constexpr
const char*
_type_key =
"runtime.Closure";
An object representing a closure. This object is used by both the Relay VM and interpreter.
Definition: closure.h:36
TVM_DECLARE_BASE_OBJECT_INFO(ClosureObj, Object)
static constexpr const char * _type_key
Definition: closure.h:39
static constexpr const uint32_t _type_index
Definition: closure.h:38
reference to closure.
Definition: closure.h:44
TVM_DEFINE_OBJECT_REF_METHODS(Closure, ObjectRef, ClosureObj)
Base class of all object reference.
Definition: object.h:519
base class of all object containers.
Definition: object.h:171
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
@ kRuntimeClosure
Definition: object.h:80