23.08
|
Mutation pass to optimize depth concatenation operations by using sub-tensors. More...
#include <DepthConcatSubTensorMutator.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... | |
![]() | |
virtual | ~IGraphMutator ()=default |
Virtual Destructor. More... | |
Additional Inherited Members | |
![]() | |
enum | MutationType { IR, Backend } |
Mutation type. More... | |
Mutation pass to optimize depth concatenation operations by using sub-tensors.
Definition at line 37 of file DepthConcatSubTensorMutator.h.
|
overridevirtual |
Walk the graph and perform a specific mutation.
[in,out] | g | Graph to walk and mutate |
Implements IGraphMutator.
Definition at line 50 of file DepthConcatSubTensorMutator.cpp.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, arm_compute::graph::ConcatenateLayer, IDeviceBackend::create_subtensor(), arm_compute::graph::dfs(), BackendRegistry::get(), BackendRegistry::get_backend(), arm_compute::graph::get_dimension_idx(), INode::id(), INode::input(), INode::input_edges(), arm_compute::test::validation::input_shape, arm_compute::graph::is_target_supported(), arm_compute::test::validation::is_valid, INode::name(), Graph::node(), Graph::nodes(), INode::output(), arm_compute::utils::iterable::reverse_iterate(), and INode::type().
|
overridevirtual |
Returns mutator name.
Implements IGraphMutator.
Definition at line 40 of file DepthConcatSubTensorMutator.cpp.
|
overridevirtual |
Returns mutation type.
Implements IGraphMutator.
Definition at line 45 of file DepthConcatSubTensorMutator.cpp.
References IGraphMutator::Backend.