tvm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::script::printer::CallDocNode Class Reference

Doc that represents function call. More...

#include <doc.h>

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

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.printer.CallDoc", CallDocNode, ExprDocNode)
 
- Public Member Functions inherited from tvm::script::printer::ExprDocNode
ExprDoc Attr (ffi::String attr) const
 Create a doc representing attribute access on the current ExprDoc. More...
 
ExprDoc operator[] (ffi::Array< Doc > indices) const
 Create a doc representing index access on the current ExprDoc. More...
 
ExprDoc Call (ffi::Array< ExprDoc, void > args) const
 Create a doc representing calling the current ExprDoc. More...
 
ExprDoc Call (ffi::Array< ExprDoc, void > args, ffi::Array< ffi::String > kwargs_keys, ffi::Array< ExprDoc, void > kwargs_values) const
 Create a doc representing attribute access on the current ExprDoc. More...
 
 TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.ExprDoc", ExprDocNode, DocNode)
 
- Public Member Functions inherited from tvm::script::printer::DocNode
 TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.Doc", DocNode, Object)
 
virtual ~DocNode ()=default
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::printer::ExprDocNode
static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::printer::DocNode
static void RegisterReflection ()
 

Public Attributes

ExprDoc callee {ffi::UnsafeInit()}
 The callee of this function call. More...
 
ffi::Array< ExprDocargs
 The positional arguments. More...
 
ffi::Array< ffi::String > kwargs_keys
 The keys of keyword arguments. More...
 
ffi::Array< ExprDockwargs_values
 The values of keyword arguments. More...
 
- Public Attributes inherited from tvm::script::printer::DocNode
ffi::Array< ffi::reflection::AccessPath > source_paths
 The list of object paths of the source IR node. More...
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::script::printer::DocNode
static constexpr bool _type_mutable = true
 

Detailed Description

Doc that represents function call.

See also
CallDoc

Member Function Documentation

◆ RegisterReflection()

static void tvm::script::printer::CallDocNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::script::printer::CallDocNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "script.printer.CallDoc"  ,
CallDocNode  ,
ExprDocNode   
)

Member Data Documentation

◆ args

ffi::Array<ExprDoc> tvm::script::printer::CallDocNode::args

The positional arguments.

◆ callee

ExprDoc tvm::script::printer::CallDocNode::callee {ffi::UnsafeInit()}

The callee of this function call.

◆ kwargs_keys

ffi::Array<ffi::String> tvm::script::printer::CallDocNode::kwargs_keys

The keys of keyword arguments.

◆ kwargs_values

ffi::Array<ExprDoc> tvm::script::printer::CallDocNode::kwargs_values

The values of keyword arguments.

The i-th element is the value of the i-th key in kwargs_keys. It must have the same length as kwargs_keys.


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