Class ExprDoc#

Inheritance Relationships#

Base Type#

  • public tvm::script::printer::Doc (Class Doc)

Derived Types#

Class Documentation#

class ExprDoc : public tvm::script::printer::Doc#

Reference type of ExprDocObj.

See also

ExprDocObj

Subclassed by tvm::script::printer::AttrAccessDoc, tvm::script::printer::CallDoc, tvm::script::printer::DictDoc, tvm::script::printer::ExprStringDoc, tvm::script::printer::IdDoc, tvm::script::printer::IndexDoc, tvm::script::printer::LambdaDoc, tvm::script::printer::ListDoc, tvm::script::printer::LiteralDoc, tvm::script::printer::NamespaceDoc, tvm::script::printer::OperationDoc, tvm::script::printer::TupleDoc

Public Types

using ContainerType = ExprDocObj#

Public Functions

ExprDoc operator[](ffi::Array<Doc> indices) const#

Create a doc representing index access on the current ExprDoc.

Parameters:

indices – The indices to access.

inline explicit ExprDoc(ffi::ObjectPtr<ExprDocObj> data)#
inline explicit ExprDoc(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#

Protected Functions

ExprDoc() = default#