tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
tvm::OpNode Class Reference

Metadata for a canonical primitive operator invoked through Call. More...

#include <op.h>

Inheritance diagram for tvm::OpNode:
Collaboration diagram for tvm::OpNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.Op", OpNode, ExprNode)
 
- Public Member Functions inherited from tvm::ExprNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Expr", ExprNode, ffi::Object)
 

Static Public Member Functions

static TVM_TIRX_DLL void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::ExprNode
static void RegisterReflection ()
 

Public Attributes

ffi::String name
 Canonical operator name.
 
ffi::String doc
 Operator documentation.
 
ffi::Array< ArgumentInfo > args_info
 Descriptors for the ordered required value-argument prefix.
 
ffi::Array< ArgumentInfo > ty_args_info
 Descriptors for the ordered required type-argument prefix.
 
ffi::Optional< ArgumentInfo > var_args_info
 Named variadic value tail, excluded from the required args_info prefix.
 
ffi::Optional< ArgumentInfo > var_ty_args_info
 Named variadic type-argument tail, excluded from ty_args_info.
 
ffi::String attrs_type_key
 Attribute object type key, or empty when no attrs type is declared.
 
uint32_t attrs_type_index {0}
 Runtime index corresponding to attrs_type_key; not serialized.
 
ffi::Any validator
 Process-local validation callback, omitted from reflection.
 
bool validator_is_custom {false}
 Whether the validator was explicitly registered rather than generated.
 
- Public Attributes inherited from tvm::ExprNode
Location loc = UnknownLoc()
 Location that points to the original source code. Reserved debug information.
 
Type ty = MissingType()
 The deduced or annotated type of the expression.
 

Static Public Attributes

static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindUniqueInstance
 
- Static Public Attributes inherited from tvm::ExprNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 64
 

Friends

class OpRegistry
 
class OpDef
 
class Op
 
template<typename >
class OpAttrMap
 

Detailed Description

Metadata for a canonical primitive operator invoked through Call.

Member Function Documentation

◆ RegisterReflection()

static TVM_TIRX_DLL void tvm::OpNode::RegisterReflection ( )
static

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::OpNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.Op"  ,
OpNode  ,
ExprNode   
)

Friends And Related Symbol Documentation

◆ Op

friend class Op
friend

◆ OpAttrMap

template<typename >
friend class OpAttrMap
friend

◆ OpDef

friend class OpDef
friend

◆ OpRegistry

friend class OpRegistry
friend

Member Data Documentation

◆ _type_s_eq_hash_kind

constexpr TVMFFISEqHashKind tvm::OpNode::_type_s_eq_hash_kind = kTVMFFISEqHashKindUniqueInstance
staticconstexpr

◆ args_info

ffi::Array<ArgumentInfo> tvm::OpNode::args_info

Descriptors for the ordered required value-argument prefix.

◆ attrs_type_index

uint32_t tvm::OpNode::attrs_type_index {0}

Runtime index corresponding to attrs_type_key; not serialized.

◆ attrs_type_key

ffi::String tvm::OpNode::attrs_type_key

Attribute object type key, or empty when no attrs type is declared.

◆ doc

ffi::String tvm::OpNode::doc

Operator documentation.

◆ name

ffi::String tvm::OpNode::name

Canonical operator name.

◆ ty_args_info

ffi::Array<ArgumentInfo> tvm::OpNode::ty_args_info

Descriptors for the ordered required type-argument prefix.

◆ validator

ffi::Any tvm::OpNode::validator

Process-local validation callback, omitted from reflection.

◆ validator_is_custom

bool tvm::OpNode::validator_is_custom {false}

Whether the validator was explicitly registered rather than generated.

◆ var_args_info

ffi::Optional<ArgumentInfo> tvm::OpNode::var_args_info

Named variadic value tail, excluded from the required args_info prefix.

◆ var_ty_args_info

ffi::Optional<ArgumentInfo> tvm::OpNode::var_ty_args_info

Named variadic type-argument tail, excluded from ty_args_info.


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