Class DictDoc#

Inheritance Relationships#

Base Type#

Class Documentation#

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

Reference type of DictDocObj.

See also

DictDocObj

Public Types

using ContainerType = DictDocObj#

Public Functions

inline DictDoc()#

Create an empty dictionary.

explicit DictDoc(ffi::Array<ExprDoc> keys, ffi::Array<ExprDoc> values)#

Constructor of DictDoc.

Parameters:
  • keys – Keys of dictionary.

  • values – Values of dictionary, must have same length as keys.

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