24.02.1
|
Mutation pass to create synthetic graphs of a given data type. More...
#include <SyntheticDataTypeMutator.h>
Public Member Functions | |
SyntheticDataTypeMutator (DataType mutate_type=DataType::QASYMM8) | |
virtual void | mutate (Graph &g) override |
Walk the graph and perform a specific mutation. More... | |
MutationType | type () const override |
Returns mutation type. More... | |
const char * | name () override |
Returns mutator name. More... | |
Public Member Functions inherited from IGraphMutator | |
virtual | ~IGraphMutator ()=default |
Virtual Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from IGraphMutator | |
enum | MutationType { IR, Backend } |
Mutation type. More... | |
Mutation pass to create synthetic graphs of a given data type.
Definition at line 35 of file SyntheticDataTypeMutator.h.
SyntheticDataTypeMutator | ( | DataType | mutate_type = DataType::QASYMM8 | ) |
Definition at line 264 of file SyntheticDataTypeMutator.cpp.
|
overridevirtual |
Walk the graph and perform a specific mutation.
[in,out] | g | Graph to walk and mutate |
Implements IGraphMutator.
Definition at line 278 of file SyntheticDataTypeMutator.cpp.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE.
|
overridevirtual |
Returns mutator name.
Implements IGraphMutator.
Definition at line 268 of file SyntheticDataTypeMutator.cpp.
|
overridevirtual |
Returns mutation type.
Implements IGraphMutator.
Definition at line 273 of file SyntheticDataTypeMutator.cpp.
References IGraphMutator::IR.