24.08
|
#include <OptimizationViews.hpp>
Classes | |
struct | SubstitutionPair |
Public Types | |
using | Subgraphs = std::vector< SubgraphView > |
using | Substitutions = std::vector< SubstitutionPair > |
Public Member Functions | |
OptimizationViews (const NetworkOptions &networkOptions={}) | |
OptimizationViews (const OptimizationViews &)=delete | |
OptimizationViews & | operator= (const OptimizationViews &)=delete |
OptimizationViews (OptimizationViews &&)=default | |
OptimizationViews & | operator= (OptimizationViews &&)=default |
void | AddSubstitution (SubstitutionPair &&substitution) |
void | AddFailedSubgraph (SubgraphView &&subgraph) |
void | AddUntouchedSubgraph (SubgraphView &&subgraph) |
void | AddDeletedSubgraph (SubgraphView &&subgraph) |
const Substitutions & | GetSubstitutions () const |
const Subgraphs & | GetFailedSubgraphs () const |
const Subgraphs & | GetUntouchedSubgraphs () const |
const Subgraphs & | GetDeletedSubgraphs () const |
Substitutions & | GetSubstitutions () |
Subgraphs & | GetFailedSubgraphs () |
Subgraphs & | GetUntouchedSubgraphs () |
bool | Validate (const SubgraphView &originalSubgraph) const |
INetwork * | GetINetwork () |
INetwork & | GetINetworkRef () |
Definition at line 17 of file OptimizationViews.hpp.
using Subgraphs = std::vector<SubgraphView> |
Definition at line 35 of file OptimizationViews.hpp.
using Substitutions = std::vector<SubstitutionPair> |
Definition at line 36 of file OptimizationViews.hpp.
|
inline |
Definition at line 20 of file OptimizationViews.hpp.
|
delete |
|
default |
|
inline |
Definition at line 53 of file OptimizationViews.hpp.
Referenced by armnn::RemoveReshapeLayer().
|
inline |
Definition at line 43 of file OptimizationViews.hpp.
|
inline |
Definition at line 38 of file OptimizationViews.hpp.
Referenced by armnn::FoldPadLayer(), armnn::FuseLayer(), TosaRefBackend::OptimizeSubgraphView(), GpuFsaBackend::OptimizeSubgraphView(), armnn::ReplaceLayers(), and armnn::ReplaceMultipleLayers().
|
inline |
Definition at line 48 of file OptimizationViews.hpp.
Referenced by RefBackend::OptimizeSubgraphView(), NeonBackend::OptimizeSubgraphView(), ClBackend::OptimizeSubgraphView(), GpuFsaBackend::OptimizeSubgraphView(), IBackendInternal::OptimizeSubgraphView(), and armnn::ReportUntouchedLayers().
|
inline |
Definition at line 61 of file OptimizationViews.hpp.
Referenced by armnn::ApplyBackendOptimizations(), RefBackend::OptimizeSubgraphView(), NeonBackend::OptimizeSubgraphView(), and ClBackend::OptimizeSubgraphView().
|
inline |
Definition at line 64 of file OptimizationViews.hpp.
|
inline |
Definition at line 59 of file OptimizationViews.hpp.
Referenced by armnn::ApplyBackendOptimizations().
|
inline |
Definition at line 69 of file OptimizationViews.hpp.
Referenced by armnn::ChainReduceLayers(), armnn::FoldPadIntoAveragePool2d(), armnn::FuseAdditionLayer(), armnn::FuseBatchNormalizationLayer(), armnn::FuseConvolution2dLayer(), armnn::FuseDepthwiseConvolution2dLayer(), armnn::FuseDivisionLayer(), armnn::FuseElementwiseBinaryLayer(), armnn::FuseFullyConnectedLayer(), armnn::FuseMultiplicationLayer(), armnn::FuseSubtractionLayer(), TosaRefBackend::OptimizeSubgraphView(), NeonBackend::OptimizeSubgraphView(), and GpuFsaBackend::OptimizeSubgraphView().
|
inline |
Definition at line 70 of file OptimizationViews.hpp.
|
inline |
Definition at line 63 of file OptimizationViews.hpp.
|
inline |
Definition at line 58 of file OptimizationViews.hpp.
Referenced by armnn::ApplyBackendOptimizations(), RefBackend::OptimizeSubgraphView(), NeonBackend::OptimizeSubgraphView(), ClBackend::OptimizeSubgraphView(), and GpuFsaBackend::OptimizeSubgraphView().
|
inline |
Definition at line 65 of file OptimizationViews.hpp.
|
inline |
Definition at line 60 of file OptimizationViews.hpp.
|
delete |
|
default |
bool Validate | ( | const SubgraphView & | originalSubgraph | ) | const |
Definition at line 11 of file OptimizationViews.cpp.
References SubgraphView::GetIConnectableLayers(), SubgraphView::GetIInputSlots(), and SubgraphView::GetIOutputSlots().
Referenced by armnn::ApplyBackendOptimizations().