tvm
Public Member Functions | List of all members
tvm::script::printer::DictDoc Class Reference

Reference type of DictDocNode. More...

#include <doc.h>

Inheritance diagram for tvm::script::printer::DictDoc:
Collaboration diagram for tvm::script::printer::DictDoc:

Public Member Functions

 DictDoc ()
 Create an empty dictionary. More...
 
 DictDoc (Array< ExprDoc > keys, Array< ExprDoc > values)
 Constructor of DictDoc. More...
 
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (DictDoc, ExprDoc, DictDocNode)
 
- Public Member Functions inherited from tvm::script::printer::ExprDoc
ExprDoc operator[] (Array< Doc > indices) const
 Create a doc representing index access on the current ExprDoc. More...
 
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (ExprDoc, Doc, ExprDocNode)
 
- Public Member Functions inherited from tvm::script::printer::Doc
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (Doc, ObjectRef, DocNode)
 

Additional Inherited Members

- Protected Member Functions inherited from tvm::script::printer::ExprDoc
 ExprDoc ()=default
 
- Protected Member Functions inherited from tvm::script::printer::Doc
 Doc ()=default
 

Detailed Description

Reference type of DictDocNode.

See also
DictDocNode

Constructor & Destructor Documentation

◆ DictDoc() [1/2]

tvm::script::printer::DictDoc::DictDoc ( )
inline

Create an empty dictionary.

◆ DictDoc() [2/2]

tvm::script::printer::DictDoc::DictDoc ( Array< ExprDoc keys,
Array< ExprDoc values 
)
explicit

Constructor of DictDoc.

Parameters
keysKeys of dictionary.
valuesValues of dictionary, must have same length as keys.

Member Function Documentation

◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()

tvm::script::printer::DictDoc::TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS ( DictDoc  ,
ExprDoc  ,
DictDocNode   
)

The documentation for this class was generated from the following file: