Francis Murtagh | 3d2b4b2 | 2021-02-15 18:23:17 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2021 Arm Ltd and Contributors. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
Nikhil Raj | 7dcc697 | 2021-04-30 15:44:24 +0100 | [diff] [blame^] | 6 | #include <common/include/ProfilingGuid.hpp> |
| 7 | |
Francis Murtagh | 3d2b4b2 | 2021-02-15 18:23:17 +0000 | [diff] [blame] | 8 | namespace armnn |
| 9 | { |
| 10 | |
| 11 | class OptimizedNetworkImpl |
| 12 | { |
| 13 | public: |
| 14 | OptimizedNetworkImpl(std::unique_ptr<Graph> graph); |
| 15 | OptimizedNetworkImpl(std::unique_ptr<Graph> graph, const ModelOptions& modelOptions); |
| 16 | virtual ~OptimizedNetworkImpl(); |
| 17 | |
| 18 | virtual Status PrintGraph(); |
| 19 | virtual Status SerializeToDot(std::ostream& stream) const; |
| 20 | |
| 21 | virtual profiling::ProfilingGuid GetGuid() const { return m_Guid; }; |
| 22 | |
| 23 | Graph& GetGraph() { return *m_Graph; } |
| 24 | ModelOptions& GetModelOptions() { return m_ModelOptions; } |
| 25 | |
| 26 | private: |
| 27 | std::unique_ptr<Graph> m_Graph; |
| 28 | profiling::ProfilingGuid m_Guid; |
| 29 | ModelOptions m_ModelOptions; |
| 30 | }; |
| 31 | |
| 32 | } |