tvm
|
Reflection and serialization of compiler IR/AST nodes. More...
#include <tvm/node/structural_equal.h>
#include <tvm/node/structural_hash.h>
#include <tvm/runtime/c_runtime_api.h>
#include <tvm/runtime/data_type.h>
#include <tvm/runtime/memory.h>
#include <tvm/runtime/ndarray.h>
#include <tvm/runtime/object.h>
#include <tvm/runtime/packed_func.h>
#include <string>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Namespaces | |
tvm | |
runtime implementation for LibTorch/TorchScript. | |
tvm::detail | |
Macros | |
#define | TVM_REFLECTION_REG_VAR_DEF static TVM_ATTRIBUTE_UNUSED ::tvm::ReflectionVTable::Registry __make_reflection |
#define | TVM_REGISTER_REFLECTION_VTABLE(TypeName, TraitName) |
Directly register reflection VTable. More... | |
#define | TVM_REGISTER_NODE_TYPE(TypeName) |
Register a node type to object registry and reflection registry. More... | |
Functions | |
Optional< String > | tvm::GetAttrKeyByAddress (const Object *object, const void *attr_address) |
Given an object and an address of its attribute, return the key of the attribute. More... | |
Reflection and serialization of compiler IR/AST nodes.
#define TVM_REFLECTION_REG_VAR_DEF static TVM_ATTRIBUTE_UNUSED ::tvm::ReflectionVTable::Registry __make_reflection |
#define TVM_REGISTER_NODE_TYPE | ( | TypeName | ) |
Register a node type to object registry and reflection registry.
TypeName | The name of the type. |
#define TVM_REGISTER_REFLECTION_VTABLE | ( | TypeName, | |
TraitName | |||
) |
Directly register reflection VTable.
TypeName | The name of the type. |
TraitName | A trait class that implements functions like VisitAttrs and SEqualReduce. |