tvm
|
The base ir_builder frame for the relax dialect. More...
#include <frame.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO ("script.ir_builder.relax.RelaxFrame", RelaxFrameNode, IRBuilderFrameNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("script.ir_builder.IRBuilderFrame", IRBuilderFrameNode, runtime::Object) | |
virtual | ~IRBuilderFrameNode ()=default |
Default destructor. More... | |
virtual void | EnterWithScope () |
The method called when entering RAII scope. More... | |
virtual void | ExitWithScope () |
The method called when exiting RAII scope. More... | |
void | AddCallback (ffi::TypedFunction< void()> callback) |
Add a callback method invoked when exiting the RAII scope. More... | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Additional Inherited Members | |
![]() | |
std::vector< ffi::TypedFunction< void()> > | callbacks |
A list of callbacks used when exiting the frame. More... | |
![]() | |
static constexpr const bool | _type_mutable = true |
The base ir_builder frame for the relax dialect.
|
inlinestatic |
tvm::script::ir_builder::relax::RelaxFrameNode::TVM_FFI_DECLARE_OBJECT_INFO | ( | "script.ir_builder.relax.RelaxFrame" | , |
RelaxFrameNode | , | ||
IRBuilderFrameNode | |||
) |