|
tvm
|
Reference type of DictDocNode. More...
#include <doc.h>
Public Member Functions | |
| DictDoc () | |
| Create an empty dictionary. More... | |
| DictDoc (ffi::Array< ExprDoc > keys, ffi::Array< ExprDoc > values) | |
| Constructor of DictDoc. More... | |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (DictDoc, ExprDoc, DictDocNode) | |
Public Member Functions inherited from tvm::script::printer::ExprDoc | |
| ExprDoc | operator[] (ffi::Array< Doc > indices) const |
| Create a doc representing index access on the current ExprDoc. More... | |
| ExprDoc (ObjectPtr< ExprDocNode > data) | |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (ExprDoc, Doc, ExprDocNode) | |
Public Member Functions inherited from tvm::script::printer::Doc | |
| TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (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 | |
| Doc (ObjectPtr< DocNode > data) | |
Reference type of DictDocNode.
|
inline |
Create an empty dictionary.
|
explicit |
Constructor of DictDoc.
| keys | Keys of dictionary. |
| values | Values of dictionary, must have same length as keys. |
| tvm::script::printer::DictDoc::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE | ( | DictDoc | , |
| ExprDoc | , | ||
| DictDocNode | |||
| ) |