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

Reference type of OperationDocNode. More...

#include <doc.h>

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

Public Member Functions

 OperationDoc (OperationDocNode::Kind kind, ffi::Array< ExprDoc > operands)
 Constructor of OperationDoc. More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (OperationDoc, ExprDoc, OperationDocNode)
 
- 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)
 

Detailed Description

Reference type of OperationDocNode.

See also
OperationDocNode

Constructor & Destructor Documentation

◆ OperationDoc()

tvm::script::printer::OperationDoc::OperationDoc ( OperationDocNode::Kind  kind,
ffi::Array< ExprDoc operands 
)
explicit

Constructor of OperationDoc.

Parameters
kindThe kind of operation.
operandsOperands of this expression.

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::script::printer::OperationDoc::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( OperationDoc  ,
ExprDoc  ,
OperationDocNode   
)

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