A frame that represents if statement.
More...
#include <frame.h>
|
static constexpr const char * | _type_key = "script.ir_builder.relax.IfFrame" |
|
static constexpr const char * | _type_key = "script.ir_builder.relax.RelaxFrame" |
|
static constexpr const char * | _type_key = "script.ir_builder.IRBuilderFrame" |
|
A frame that represents if statement.
- See also
- IfFrame
◆ EnterWithScope()
void tvm::script::ir_builder::relax::IfFrameNode::EnterWithScope |
( |
| ) |
|
|
finalvirtual |
◆ ExitWithScope()
void tvm::script::ir_builder::relax::IfFrameNode::ExitWithScope |
( |
| ) |
|
|
finalvirtual |
◆ RegisterReflection()
static void tvm::script::ir_builder::relax::IfFrameNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_FINAL_OBJECT_INFO()
◆ _type_key
constexpr const char* tvm::script::ir_builder::relax::IfFrameNode::_type_key = "script.ir_builder.relax.IfFrame" |
|
staticconstexpr |
◆ condition
The condition of the if statement.
◆ else_expr
Optional<tvm::relax::Expr> tvm::script::ir_builder::relax::IfFrameNode::else_expr |
The Bindings in the false branch.
◆ then_expr
Optional<tvm::relax::Expr> tvm::script::ir_builder::relax::IfFrameNode::then_expr |
The Bindings in the true branch.
◆ var
◆ var_name
String tvm::script::ir_builder::relax::IfFrameNode::var_name |
The documentation for this class was generated from the following file:
- include/tvm/script/ir_builder/relax/frame.h