Class SliceDoc#

Inheritance Relationships#

Base Type#

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

Class Documentation#

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

Reference type of SliceDocObj.

See also

SliceDocObj

Public Types

using ContainerType = SliceDocObj#

Public Functions

explicit SliceDoc(ffi::Optional<ExprDoc> start, ffi::Optional<ExprDoc> stop, ffi::Optional<ExprDoc> step)#

Constructor of SliceDoc.

Parameters:
  • start – The start of slice.

  • stop – The exclusive end of slice.

  • step – The step of slice.

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