Class AssignDocObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class AssignDocObj : public tvm::script::printer::StmtDocObj#

Doc that represents assign statement.

See also

AssignDoc

Public Members

ExprDoc lhs = {ffi::UnsafeInit()}#

The left hand side of the assignment.

ffi::Optional<ExprDoc> rhs#

The right hand side of the assignment.

If null, this doc represents declaration, e.g. A: T.Tensor((1,2))

ffi::Optional<ExprDoc> annotation#

The type annotation of this assignment.

Public Static Functions

static inline void RegisterReflection()#
static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#