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, Array< ExprDoc > operands)
 Constructor of OperationDoc. More...
 
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (OperationDoc, ExprDoc, OperationDocNode)
 
- 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 OperationDocNode.

See also
OperationDocNode

Constructor & Destructor Documentation

◆ OperationDoc()

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

Constructor of OperationDoc.

Parameters
kindThe kind of operation.
operandsOperands of this expression.

Member Function Documentation

◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()

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

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