TVM
0.9.2
|
Go to the source code of this file.
Classes | |
class | tvm::graph::abstract::Outputs |
struct | tvm::graph::abstract::Outputs::Output |
Namespaces | |
tvm | |
tvm::graph | |
tvm::graph::abstract | |
Macros | |
#define | SET_OUTPUTS(SelfT, ...) PP_ID(EXTEND_ENUM(Output, SelfT, __VA_ARGS__)) |
#define | DISABLE_OUTPUTS(...) PP_ID(DISABLE_SIGNALS(Output, __VA_ARGS__)) |
#define | CLEAR_DISABLED_OUTPUTS() PP_ID(CLEAR_DISABLED_SIGNALS(Output)) |
Functions | |
template<typename T , typename EnumT > | |
constexpr bool | tvm::graph::abstract::is_valid_output (EnumT v) |
template<typename T , typename EnumT , typename... Args> | |
constexpr bool | tvm::graph::abstract::is_valid_output (EnumT v, Args... args) |
#define CLEAR_DISABLED_OUTPUTS | ( | ) | PP_ID(CLEAR_DISABLED_SIGNALS(Output)) |
Mark all outputs as enabled
#define DISABLE_OUTPUTS | ( | ... | ) | PP_ID(DISABLE_SIGNALS(Output, __VA_ARGS__)) |
Mark some output signals as disabled for that class This overrides Outputs::isOutputEnabled.
#define SET_OUTPUTS | ( | SelfT, | |
... | |||
) | PP_ID(EXTEND_ENUM(Output, SelfT, __VA_ARGS__)) |
Add new output signals for a given entity SelfT.
Read the meta-information available at construction for SelfT to start the enum value at the correct value.
An Outputs object that does not need new output signals does not need to call this macro.