|
tvm
|
Reference type of AssertDocNode. More...
#include <doc.h>
Public Member Functions | |
| AssertDoc (ExprDoc test, ffi::Optional< ExprDoc > msg=std::nullopt) | |
| Constructor of AssertDoc. More... | |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (AssertDoc, StmtDoc, AssertDocNode) | |
Public Member Functions inherited from tvm::script::printer::StmtDoc | |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (StmtDoc, Doc, StmtDocNode) | |
Public Member Functions inherited from tvm::script::printer::Doc | |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Doc, ObjectRef, DocNode) | |
Additional Inherited Members | |
Protected Member Functions inherited from tvm::script::printer::StmtDoc | |
| StmtDoc ()=default | |
Protected Member Functions inherited from tvm::script::printer::Doc | |
| Doc ()=default | |
| Doc (ObjectPtr< DocNode > data) | |
Reference type of AssertDocNode.
|
explicit |
Constructor of AssertDoc.
| test | The expression to test. |
| msg | The optional error message when assertion failed. |
| tvm::script::printer::AssertDoc::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE | ( | AssertDoc | , |
| StmtDoc | , | ||
| AssertDocNode | |||
| ) |