Reference type of IfDocNode.
More...
#include <doc.h>
Reference type of IfDocNode.
- See also
- IfDocNode
◆ IfDoc()
tvm::script::printer::IfDoc::IfDoc |
( |
ExprDoc |
predicate, |
|
|
Array< StmtDoc > |
then_branch, |
|
|
Array< StmtDoc > |
else_branch |
|
) |
| |
|
explicit |
Constructor of IfDoc.
- Parameters
-
predicate | The predicate of the if-then-else statement. |
then_branch | The then branch of the if-then-else statement. |
else_branch | The else branch of the if-then-else statement. |
◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h