TVM
0.9.2
|
#include <tvm/api.h>
#include <tvm/graph/internal/Inputs.h>
#include <cassert>
#include <functional>
#include <vector>
Go to the source code of this file.
Classes | |
class | tvm::graph::abstract::Node< T > |
class | tvm::graph::internal::AbstractNode |
struct | tvm::graph::internal::AbstractNode::Update |
Namespaces | |
tvm | |
tvm::graph | |
tvm::graph::abstract | |
tvm::graph::internal | |
Macros | |
#define | SET_UPDATES(SelfT, ...) PP_ID(EXTEND_ENUM(Update, SelfT, __VA_ARGS__)) |
#define | DISABLE_UPDATES(...) PP_ID(DISABLE_SIGNALS(Update, __VA_ARGS__)) |
#define | CLEAR_DISABLED_UPDATES() PP_ID(CLEAR_DISABLED_SIGNALS(Update)) |
Functions | |
template<typename T , typename EnumT > | |
constexpr bool | tvm::graph::internal::is_valid_update (EnumT v) |
template<typename T , typename EnumT , typename... Args> | |
constexpr bool | tvm::graph::internal::is_valid_update (EnumT v, Args... args) |
#define CLEAR_DISABLED_UPDATES | ( | ) | PP_ID(CLEAR_DISABLED_SIGNALS(Update)) |
Mark all updates as enabled
#define DISABLE_UPDATES | ( | ... | ) | PP_ID(DISABLE_SIGNALS(Update, __VA_ARGS__)) |
Mark some update signals as disabled for that class
#define SET_UPDATES | ( | SelfT, | |
... | |||
) | PP_ID(EXTEND_ENUM(Update, SelfT, __VA_ARGS__)) |
Add new update signals for a given entity SelfT.
Read the meta-information available at construction for SelfT to start the enum value at the correct value.
A Node object that does not need new update signals does not need to call this macro.