ArmNN  NotReleased
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 261 of file Network.hpp.

Constructor & Destructor Documentation

◆ OptimizedNetwork()

OptimizedNetwork ( std::unique_ptr< Graph graph)

Definition at line 1588 of file Network.cpp.

1589  : m_Graph(std::move(graph)),
1590  m_Guid(profiling::ProfilingService::Instance().NextGuid())
1591 {
1592 }
static ProfilingService & Instance()

◆ ~OptimizedNetwork()

Definition at line 1594 of file Network.cpp.

1595 {
1596 }

Member Function Documentation

◆ GetGraph()

Graph& GetGraph ( )
inline

Definition at line 272 of file Network.hpp.

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

272 { return *m_Graph; }

◆ GetGuid()

profiling::ProfilingGuid GetGuid ( ) const
inlinefinalvirtual

Implements IOptimizedNetwork.

Definition at line 270 of file Network.hpp.

270 { return m_Guid; };

◆ PrintGraph()

Status PrintGraph ( )
overridevirtual

Implements IOptimizedNetwork.

Definition at line 63 of file Network.cpp.

References armnn::Success.

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

◆ SerializeToDot()

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

Implements IOptimizedNetwork.

Definition at line 69 of file Network.cpp.

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

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