The ir_builder frame for relax binding blocks.
More...
#include <frame.h>
|
static constexpr const char * | _type_key = "script.ir_builder.relax.BlockFrame" |
|
static constexpr const char * | _type_key = "script.ir_builder.relax.RelaxFrame" |
|
static constexpr const char * | _type_key = "script.ir_builder.IRBuilderFrame" |
|
The ir_builder frame for relax binding blocks.
◆ EnterWithScope()
void tvm::script::ir_builder::relax::BlockFrameNode::EnterWithScope |
( |
| ) |
|
|
finalvirtual |
◆ ExitWithScope()
void tvm::script::ir_builder::relax::BlockFrameNode::ExitWithScope |
( |
| ) |
|
|
finalvirtual |
◆ RegisterReflection()
static void tvm::script::ir_builder::relax::BlockFrameNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_FINAL_OBJECT_INFO()
◆ _type_key
constexpr const char* tvm::script::ir_builder::relax::BlockFrameNode::_type_key = "script.ir_builder.relax.BlockFrame" |
|
staticconstexpr |
◆ block_ended
bool tvm::script::ir_builder::relax::BlockFrameNode::block_ended |
A boolean indicating if the dataflow block is ended of construction. If it is true, any new binding trying to be emitted into this block will cause an error.
- Note
- Only used for a dataflow block.
◆ emitted_vars
Array<tvm::relax::Var> tvm::script::ir_builder::relax::BlockFrameNode::emitted_vars |
The variables emitted in this block.
◆ is_dataflow
bool tvm::script::ir_builder::relax::BlockFrameNode::is_dataflow |
The flag that indicates whether the block is a dataflow block.
◆ output_vars
Array<tvm::relax::Var> tvm::script::ir_builder::relax::BlockFrameNode::output_vars |
The output vars of the dataflow block.
- Note
- Only used for a dataflow block.
The documentation for this class was generated from the following file:
- include/tvm/script/ir_builder/relax/frame.h