|
TVM
0.9.4
|
#include <tvm/scheme/internal/ProblemDefinitionEvent.h>
Public Types | |
| enum class | Type { WeightChange , AnisotropicWeightChange , TaskAddition , TaskRemoval , SubstitutionAddition , SubstitutionRemoval } |
| template<Type t> | |
| using | EmitterType = std::conditional_t< t<=Type::TaskRemoval, TaskWithRequirements, hint::Substitution > |
Public Member Functions | |
| ProblemDefinitionEvent (Type type, const TaskWithRequirements &emitter) | |
| ProblemDefinitionEvent (Type type, hint::Substitution const *emitter) | |
| ProblemDefinitionEvent (const ProblemDefinitionEvent &)=default | |
| ProblemDefinitionEvent (ProblemDefinitionEvent &&)=default | |
| ProblemDefinitionEvent & | operator= (const ProblemDefinitionEvent &)=default |
| ProblemDefinitionEvent & | operator= (ProblemDefinitionEvent &&)=default |
| Type | type () const |
| void const * | emitter () const |
| template<Type t> | |
| const auto & | typedEmitter () const |
A class describing a change in a problem definition.
| using tvm::scheme::internal::ProblemDefinitionEvent::EmitterType = std::conditional_t<t <= Type::TaskRemoval, TaskWithRequirements, hint::Substitution> |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
default |
|
default |
|
inline |
|
inline |