ArmNN
 20.08
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 278 of file Network.hpp.

Constructor & Destructor Documentation

◆ OptimizedNetwork()

OptimizedNetwork ( std::unique_ptr< Graph graph)

Definition at line 2006 of file Network.cpp.

2007  : m_Graph(std::move(graph)), m_Guid(profiling::ProfilingService::GetNextGuid())
2008 {
2009 }
static ProfilingDynamicGuid GetNextGuid()

◆ ~OptimizedNetwork()

Definition at line 2011 of file Network.cpp.

2012 {
2013 }

Member Function Documentation

◆ GetGraph()

Graph& GetGraph ( )
inline

Definition at line 289 of file Network.hpp.

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

289 { return *m_Graph; }

◆ GetGuid()

profiling::ProfilingGuid GetGuid ( ) const
inlinefinalvirtual

Implements IOptimizedNetwork.

Definition at line 287 of file Network.hpp.

287 { return m_Guid; };

◆ PrintGraph()

Status PrintGraph ( )
overridevirtual

Implements IOptimizedNetwork.

Definition at line 65 of file Network.cpp.

References armnn::Success.

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

◆ SerializeToDot()

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

Implements IOptimizedNetwork.

Definition at line 71 of file Network.cpp.

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

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