23.02
|
Go to the documentation of this file.
41 m_SuccesfulOptimizations.emplace_back(substitution);
46 m_FailedOptimizations.emplace_back(subgraph);
51 m_UntouchedSubgraphs.emplace_back(subgraph);
Subgraphs & GetFailedSubgraphs()
SubgraphView m_ReplacementSubgraph
A subgraph of new layers which will replace layers in m_SubstitutableSubgraph.
std::vector< SubgraphView > Subgraphs
std::vector< SubstitutionPair > Substitutions
INetwork & GetINetworkRef()
Subgraphs & GetUntouchedSubgraphs()
#define ARMNN_DEPRECATED_MSG_REMOVAL_DATE(message, removed_in_release)
OptimizationViews(const NetworkOptions &networkOptions={})
void AddSubstitution(SubstitutionPair &&substitution)
Copyright (c) 2021 ARM Limited and Contributors.
void AddFailedSubgraph(SubgraphView &&subgraph)
std::vector< BackendOptions > NetworkOptions
OptimizationViews & operator=(const OptimizationViews &)=delete
bool Validate(const SubgraphView &originalSubgraph) const
void AddUntouchedSubgraph(SubgraphView &&subgraph)
The SubgraphView class represents a subgraph of a Graph.
const Subgraphs & GetUntouchedSubgraphs() const
const Subgraphs & GetFailedSubgraphs() const
static INetworkPtr Create(const NetworkOptions &networkOptions={})
Substitutions & GetSubstitutions()
Main network class which provides the interface for building up a neural network.
std::unique_ptr< INetwork, void(*)(INetwork *network)> INetworkPtr
const Substitutions & GetSubstitutions() const
SubgraphView m_SubstitutableSubgraph
Subgraph of Layers from the original graph which should be replaced.