Class AssertDoc#
Defined in File doc.h
Inheritance Relationships#
Base Type#
public tvm::script::printer::StmtDoc(Class StmtDoc)
Class Documentation#
-
class AssertDoc : public tvm::script::printer::StmtDoc#
Reference type of AssertDocObj.
See also
Public Types
-
using ContainerType = AssertDocObj#
Public Functions
-
explicit AssertDoc(ExprDoc test, ffi::Optional<ExprDoc> msg = std::nullopt)#
Constructor of AssertDoc.
- Parameters:
test – The expression to test.
msg – The optional error message when assertion failed.
-
inline explicit AssertDoc(::tvm::ffi::UnsafeInit tag)#
-
inline __PtrType operator->() const#
-
inline __PtrType get() const#
-
using ContainerType = AssertDocObj#