tvm
|
Primitive Op(builtin intrinsics) More...
#include <op.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (OpNode, RelaxExprNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (RelaxExprNode, BaseExprNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (BaseExprNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
String | name |
name of the operator More... | |
FuncType | op_type |
the type of the operator More... | |
String | description |
detailed description of the operator This can be used to generate docstring automatically for the operator. More... | |
Array< AttrFieldInfo > | arguments |
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... | |
![]() | |
Optional< ObjectRef > | struct_info_ = Optional<ObjectRef>() |
Stores the result of structure information of the expression that encapsulate both static shape and runtime information such as shape. More... | |
![]() | |
Span | span |
Span that points to the original source code. Reserved debug information. More... | |
Static Public Attributes | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindUniqueInstance |
static constexpr const char * | _type_key = "ir.Op" |
![]() | |
static constexpr const char * | _type_key = "ir.RelaxExpr" |
static constexpr const uint32_t | _type_child_slots = 22 |
![]() | |
static constexpr const char * | _type_key = "ir.BaseExpr" |
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 |
tvm::OpNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | OpNode | , |
RelaxExprNode | |||
) |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |
|
staticconstexpr |
Array<AttrFieldInfo> 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.
String tvm::OpNode::attrs_type_key |
The type key of the attribute field This can be empty, in which case it defaults to anything.
String tvm::OpNode::description |
detailed description of the operator This can be used to generate docstring automatically for the operator.
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
|
mutable |
the type of the operator
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.