tvm
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tvm::If Class Reference

Managed reference to IfNode. More...

#include <stmt.h>

Inheritance diagram for tvm::If:
Collaboration diagram for tvm::If:

Public Member Functions

TVM_TIRX_DLL If (PrimExpr condition, SeqStmt then_case, ffi::Optional< SeqStmt > else_case=std::nullopt, Location loc=UnknownLoc())
 
 If (ffi::ObjectPtr< IfNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (If, Stmt, IfNode)
 
 TVM_DEFINE_OBJECT_REF_COW_METHOD (IfNode)
 
- Public Member Functions inherited from tvm::Stmt
 Stmt (ffi::ObjectPtr< StmtNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Stmt, ffi::ObjectRef, StmtNode)
 

Detailed Description

Managed reference to IfNode.

See also
IfNode

Constructor & Destructor Documentation

◆ If() [1/2]

TVM_TIRX_DLL tvm::If::If ( PrimExpr  condition,
SeqStmt  then_case,
ffi::Optional< SeqStmt >  else_case = std::nullopt,
Location  loc = UnknownLoc() 
)

◆ If() [2/2]

tvm::If::If ( ffi::ObjectPtr< IfNode >  node)
inlineexplicit

Member Function Documentation

◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()

tvm::If::TVM_DEFINE_OBJECT_REF_COW_METHOD ( IfNode  )

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::If::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( If  ,
Stmt  ,
IfNode   
)

The documentation for this class was generated from the following file: