|
tvm
|
Doc that represents assert statement. More...
#include <doc.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.printer.AssertDoc", AssertDocNode, StmtDocNode) | |
Public Member Functions inherited from tvm::script::printer::StmtDocNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.StmtDoc", StmtDocNode, DocNode) | |
Public Member Functions inherited from tvm::script::printer::DocNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.Doc", DocNode, ffi::Object) | |
| virtual | ~DocNode ()=default |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::script::printer::StmtDocNode | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::script::printer::DocNode | |
| static void | RegisterReflection () |
Public Attributes | |
| ExprDoc | test {ffi::UnsafeInit()} |
| The expression to test. More... | |
| ffi::Optional< ExprDoc > | msg {std::nullopt} |
| The optional error message when assertion failed. More... | |
Public Attributes inherited from tvm::script::printer::StmtDocNode | |
| ffi::Optional< ffi::String > | comment {std::nullopt} |
| The comment of this doc. More... | |
Public Attributes inherited from tvm::script::printer::DocNode | |
| ffi::Array< AccessPath > | source_paths |
| The list of object paths of the source IR node. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::script::printer::DocNode | |
| static constexpr bool | _type_mutable = true |
|
inlinestatic |
| tvm::script::printer::AssertDocNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "script.printer.AssertDoc" | , |
| AssertDocNode | , | ||
| StmtDocNode | |||
| ) |
| ffi::Optional<ExprDoc> tvm::script::printer::AssertDocNode::msg {std::nullopt} |
The optional error message when assertion failed.
| ExprDoc tvm::script::printer::AssertDocNode::test {ffi::UnsafeInit()} |
The expression to test.