tvm
|
A frame that represents then. More...
#include <frame.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.ir_builder.relax.ThenFrame", ThenFrameNode, SeqExprFrameNode) | |
void | EnterWithScope () final |
The method called when entering RAII scope. More... | |
void | ExitWithScope () final |
The method called when exiting RAII scope. More... | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("script.ir_builder.relax.SeqExprFrame", SeqExprFrameNode, RelaxFrameNode) | |
![]() | |
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... | |
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 () |
![]() | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Additional Inherited Members | |
![]() | |
ffi::Array< tvm::relax::BindingBlock > | binding_blocks |
The binding blocks inside the frame. More... | |
ffi::Optional< tvm::relax::Expr > | output |
The frame output expr. std::nullopt when undefined. More... | |
![]() | |
std::vector< ffi::TypedFunction< void()> > | callbacks |
A list of callbacks used when exiting the frame. More... | |
![]() | |
static constexpr const bool | _type_mutable = true |
A frame that represents then.
|
finalvirtual |
The method called when entering RAII scope.
Reimplemented from tvm::script::ir_builder::relax::SeqExprFrameNode.
|
finalvirtual |
The method called when exiting RAII scope.
Reimplemented from tvm::script::ir_builder::relax::SeqExprFrameNode.
|
inlinestatic |
tvm::script::ir_builder::relax::ThenFrameNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "script.ir_builder.relax.ThenFrame" | , |
ThenFrameNode | , | ||
SeqExprFrameNode | |||
) |