Reference type of AssertDocNode.
More...
#include <doc.h>
Reference type of AssertDocNode.
- See also
- AssertDocNode
◆ AssertDoc()
tvm::script::printer::AssertDoc::AssertDoc |
( |
ExprDoc |
test, |
|
|
Optional< ExprDoc > |
msg = std::nullopt |
|
) |
| |
|
explicit |
Constructor of AssertDoc.
- Parameters
-
test | The expression to test. |
msg | The optional error message when assertion failed. |
◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h