tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::script::ir_builder::relax::SeqExprFrameNode Class Reference

The base ir_builder frame for frames with SeqExpr i.e. Functions, If branches. More...

#include <frame.h>

Inheritance diagram for tvm::script::ir_builder::relax::SeqExprFrameNode:
Collaboration diagram for tvm::script::ir_builder::relax::SeqExprFrameNode:

Public Member Functions

 TVM_DECLARE_BASE_OBJECT_INFO (SeqExprFrameNode, RelaxFrameNode)
 
void EnterWithScope () override
 The method called when entering RAII scope. More...
 
void ExitWithScope () override
 The method called when exiting RAII scope. More...
 
- Public Member Functions inherited from tvm::script::ir_builder::relax::RelaxFrameNode
 TVM_DECLARE_BASE_OBJECT_INFO (RelaxFrameNode, IRBuilderFrameNode)
 
- Public Member Functions inherited from tvm::script::ir_builder::IRBuilderFrameNode
 TVM_DECLARE_BASE_OBJECT_INFO (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 Public Member Functions inherited from tvm::script::ir_builder::relax::RelaxFrameNode
static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::ir_builder::IRBuilderFrameNode
static void RegisterReflection ()
 

Public Attributes

Array< tvm::relax::BindingBlockbinding_blocks
 The binding blocks inside the frame. More...
 
Optional< tvm::relax::Exproutput
 The frame output expr. std::nullopt when undefined. More...
 
- Public Attributes inherited from tvm::script::ir_builder::IRBuilderFrameNode
std::vector< ffi::TypedFunction< void()> > callbacks
 A list of callbacks used when exiting the frame. More...
 

Static Public Attributes

static constexpr const char * _type_key = "script.ir_builder.relax.SeqExprFrame"
 
- Static Public Attributes inherited from tvm::script::ir_builder::relax::RelaxFrameNode
static constexpr const char * _type_key = "script.ir_builder.relax.RelaxFrame"
 
- Static Public Attributes inherited from tvm::script::ir_builder::IRBuilderFrameNode
static constexpr const char * _type_key = "script.ir_builder.IRBuilderFrame"
 

Detailed Description

The base ir_builder frame for frames with SeqExpr i.e. Functions, If branches.

Member Function Documentation

◆ EnterWithScope()

void tvm::script::ir_builder::relax::SeqExprFrameNode::EnterWithScope ( )
overridevirtual

◆ ExitWithScope()

void tvm::script::ir_builder::relax::SeqExprFrameNode::ExitWithScope ( )
overridevirtual

◆ RegisterReflection()

static void tvm::script::ir_builder::relax::SeqExprFrameNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_BASE_OBJECT_INFO()

tvm::script::ir_builder::relax::SeqExprFrameNode::TVM_DECLARE_BASE_OBJECT_INFO ( SeqExprFrameNode  ,
RelaxFrameNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::script::ir_builder::relax::SeqExprFrameNode::_type_key = "script.ir_builder.relax.SeqExprFrame"
staticconstexpr

◆ binding_blocks

Array<tvm::relax::BindingBlock> tvm::script::ir_builder::relax::SeqExprFrameNode::binding_blocks

The binding blocks inside the frame.

◆ output

Optional<tvm::relax::Expr> tvm::script::ir_builder::relax::SeqExprFrameNode::output

The frame output expr. std::nullopt when undefined.


The documentation for this class was generated from the following file: