ArmNN
 20.02
OptimizedNetwork Class Referencefinal

#include <Network.hpp>

Inheritance diagram for OptimizedNetwork:
IOptimizedNetwork

Public Member Functions

 OptimizedNetwork (std::unique_ptr< Graph > graph)
 
 ~OptimizedNetwork ()
 
Status PrintGraph () override
 
Status SerializeToDot (std::ostream &stream) const override
 
profiling::ProfilingGuid GetGuid () const final
 
GraphGetGraph ()
 

Additional Inherited Members

- Static Public Member Functions inherited from IOptimizedNetwork
static void Destroy (IOptimizedNetwork *network)
 
- Protected Member Functions inherited from IOptimizedNetwork
 ~IOptimizedNetwork ()
 

Detailed Description

Definition at line 265 of file Network.hpp.

Constructor & Destructor Documentation

◆ OptimizedNetwork()

OptimizedNetwork ( std::unique_ptr< Graph graph)

Definition at line 1682 of file Network.cpp.

1683  : m_Graph(std::move(graph)),
1684  m_Guid(profiling::ProfilingService::Instance().NextGuid())
1685 {
1686 }
static ProfilingService & Instance()

◆ ~OptimizedNetwork()

Definition at line 1688 of file Network.cpp.

1689 {
1690 }

Member Function Documentation

◆ GetGraph()

Graph& GetGraph ( )
inline

Definition at line 276 of file Network.hpp.

Referenced by armnn::ApplyBackendOptimizations(), armnn::AssignBackends(), BOOST_AUTO_TEST_CASE(), and armnn::Optimize().

276 { return *m_Graph; }

◆ GetGuid()

profiling::ProfilingGuid GetGuid ( ) const
inlinefinalvirtual

Implements IOptimizedNetwork.

Definition at line 274 of file Network.hpp.

274 { return m_Guid; };

◆ PrintGraph()

Status PrintGraph ( )
overridevirtual

Implements IOptimizedNetwork.

Definition at line 64 of file Network.cpp.

References armnn::Success.

65 {
66  m_Graph->Print();
67  return Status::Success;
68 }

◆ SerializeToDot()

Status SerializeToDot ( std::ostream &  stream) const
overridevirtual

Implements IOptimizedNetwork.

Definition at line 70 of file Network.cpp.

71 {
72  return m_Graph->SerializeToDot(stream);
73 }

The documentation for this class was generated from the following files: