24.04
|
Mutation pass to fuss nodes. More...
#include <NodeFusionMutator.h>
Public Member Functions | |
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 fuss nodes.
Definition at line 35 of file NodeFusionMutator.h.
|
overridevirtual |
Walk the graph and perform a specific mutation.
[in,out] | g | Graph to walk and mutate |
Implements IGraphMutator.
Definition at line 379 of file NodeFusionMutator.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::graph::CL, Tensor::desc(), Graph::edge(), arm_compute::graph::detail::fuse_convolution_with_batch_normalization(), arm_compute::graph::detail::fuse_depthwise_convolution_with_batch_normalization(), INode::output(), Edge::producer(), arm_compute::QASYMM8, and TensorDescriptor::quant_info.
|
overridevirtual |
Returns mutator name.
Implements IGraphMutator.
Definition at line 369 of file NodeFusionMutator.cpp.
|
overridevirtual |
Returns mutation type.
Implements IGraphMutator.
Definition at line 374 of file NodeFusionMutator.cpp.
References IGraphMutator::Backend.