#include <expr.h>
◆ IfExpr() [1/2]
The constructor.
- Parameters
-
| cond | The condition of a if node. |
| true_branch | The fall through branch. If this is not a SeqExpr, it will be wrapped in a SeqExpr, to satisfy the Relax IR requirement that all scopes be contained in a SeqExpr. |
| false_branch | The branch for execution when condition is false. If this is not a SeqExpr, it will be wrapped in a SeqExpr, to satisfy the Relax IR requirement that all scopes be contained in a SeqExpr. |
| loc | The source location of the expression. |
◆ IfExpr() [2/2]
| tvm::relax::IfExpr::IfExpr |
( |
ffi::ObjectPtr< IfExprNode > |
node | ) |
|
|
inlineexplicit |
◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()
| tvm::relax::IfExpr::TVM_DEFINE_OBJECT_REF_COW_METHOD |
( |
IfExprNode |
| ) |
|
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
The documentation for this class was generated from the following file: