Class ForDoc#

Inheritance Relationships#

Base Type#

Class Documentation#

class ForDoc : public tvm::script::printer::StmtDoc#

Reference type of ForDocObj.

See also

ForDocObj

Public Types

using ContainerType = ForDocObj#

Public Functions

explicit ForDoc(ExprDoc lhs, ExprDoc rhs, ffi::Array<StmtDoc> body)#

Constructor of ForDoc.

Parameters:
  • lhs – The left hand side of the assignment of iterating variable.

  • rhs – The right hand side of the assignment of iterating variable.

  • body – The body of the for statement.

inline explicit ForDoc(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#