|
tvm
|
Primitive Op(builtin intrinsics) More...
#include <op.h>
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 void | RegisterReflection () |
Static Public Member Functions inherited from tvm::ExprNode | |
| static void | RegisterReflection () |
Public Attributes | |
| ffi::String | name |
| name of the operator More... | |
| ffi::String | description |
| detailed description of the operator This can be used to generate docstring automatically for the operator. More... | |
| ffi::Array< ArgumentInfo > | arguments |
| ffi::String | attrs_type_key |
| The type key of the attribute field This can be empty, in which case it defaults to anything. More... | |
| uint32_t | attrs_type_index {0} |
| attribute type index, this field varies in each run and is not exposed to frontend. More... | |
| int32_t | num_inputs = -1 |
| number of input arguments to the operator, -1 means it is variable length More... | |
| int32_t | support_level = 10 |
| support level of the operator, The lower the more priority it contains. This is in analogies to BLAS levels. More... | |
Public Attributes inherited from tvm::ExprNode | |
| Span | span |
| Span that points to the original source code. Reserved debug information. More... | |
| Type | ty = Type::Missing() |
| The deduced or annotated type of the expression. More... | |
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 | |
| template<typename > | |
| class | AttrRegistryMapContainerMap |
| template<typename , typename > | |
| class | AttrRegistry |
| class | OpRegEntry |
Primitive Op(builtin intrinsics)
This data structure stores the meta-data about primitive operators that can be invoked via Call.
Low-level IR intrinsics(such as libc.expf) are also implemented via Op.
|
inlinestatic |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |
| ffi::Array<ArgumentInfo> tvm::OpNode::arguments |
| uint32_t tvm::OpNode::attrs_type_index {0} |
attribute type index, this field varies in each run and is not exposed to frontend.
| ffi::String tvm::OpNode::attrs_type_key |
The type key of the attribute field This can be empty, in which case it defaults to anything.
| ffi::String tvm::OpNode::description |
detailed description of the operator This can be used to generate docstring automatically for the operator.
| ffi::String tvm::OpNode::name |
name of the operator
| int32_t tvm::OpNode::num_inputs = -1 |
number of input arguments to the operator, -1 means it is variable length
| int32_t tvm::OpNode::support_level = 10 |
support level of the operator, The lower the more priority it contains. This is in analogies to BLAS levels.