The ir_builder frame for relax binding blocks.
More...
#include <frame.h>
|
| bool | is_dataflow |
| | The flag that indicates whether the block is a dataflow block.
|
| |
| ffi::Array< tvm::Var > | emitted_vars |
| | The variables emitted in this block.
|
| |
| bool | 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.
|
| |
| ffi::Array< tvm::Var > | output_vars |
| | The output vars of the dataflow block.
|
| |
| std::vector< ffi::TypedFunction< void()> > | callbacks |
| | A list of callbacks used when exiting the frame.
|
| |
The ir_builder frame for relax binding blocks.
◆ EnterWithScope()
| void tvm::script::ir_builder::relax::BindingBlockFrameNode::EnterWithScope |
( |
| ) |
|
|
finalvirtual |
◆ ExitWithScope()
| void tvm::script::ir_builder::relax::BindingBlockFrameNode::ExitWithScope |
( |
| ) |
|
|
finalvirtual |
◆ RegisterReflection()
| static void tvm::script::ir_builder::relax::BindingBlockFrameNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()
| tvm::script::ir_builder::relax::BindingBlockFrameNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL |
( |
"script.ir_builder.relax.BindingBlockFrame" |
, |
|
|
BindingBlockFrameNode |
, |
|
|
RelaxFrameNode |
|
|
) |
| |
◆ block_ended
| bool tvm::script::ir_builder::relax::BindingBlockFrameNode::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
| ffi::Array<tvm::Var> tvm::script::ir_builder::relax::BindingBlockFrameNode::emitted_vars |
The variables emitted in this block.
◆ is_dataflow
| bool tvm::script::ir_builder::relax::BindingBlockFrameNode::is_dataflow |
The flag that indicates whether the block is a dataflow block.
◆ output_vars
| ffi::Array<tvm::Var> tvm::script::ir_builder::relax::BindingBlockFrameNode::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/relax/script/builder/frame.h