tvm
|
Primitive operators(builtin intrinsics) and registry for them. More...
#include <dmlc/registry.h>
#include <tvm/ir/attrs.h>
#include <tvm/ir/expr.h>
#include <tvm/ir/type.h>
#include <tvm/ir/type_relation.h>
#include <tvm/node/attr_registry_map.h>
#include <tvm/runtime/registry.h>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | tvm::OpNode |
Primitive Op(builtin intrinsics) More... | |
class | tvm::Op |
Managed reference class to OpNode. More... | |
class | tvm::OpRegEntry |
Helper structure to register operators. More... | |
class | tvm::OpAttrMap< ValueType > |
Map<Op,ValueType> used to store meta-information about Op. More... | |
Namespaces | |
tvm | |
runtime implementation for LibTorch/TorchScript. | |
Macros | |
#define | TVM_OP_REGISTER_VAR_DEF static DMLC_ATTRIBUTE_UNUSED ::tvm::OpRegEntry& __make_##Op |
#define | TVM_REGISTER_OP(OpName) |
Register a new operator, or set attribute of the corresponding op. More... | |
Functions | |
bool | tvm::IsPrimitiveOp (const RelayExpr &expr) |
Check that an expression is a "primitive operator". More... | |
Primitive operators(builtin intrinsics) and registry for them.
#define TVM_OP_REGISTER_VAR_DEF static DMLC_ATTRIBUTE_UNUSED ::tvm::OpRegEntry& __make_##Op |
#define TVM_REGISTER_OP | ( | OpName | ) |
Register a new operator, or set attribute of the corresponding op.
OpName | The name of registry |