xref: /aosp_15_r20/external/armnn/src/armnn/ISubgraphViewConverter.hpp (revision 89c4ff92f2867872bb9e2354d150bf0c8c502810)
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/Deprecated.hpp>
9 
10 #include <memory>
11 #include <vector>
12 #include <functional>
13 
14 namespace armnn
15 {
16 
17 using CompiledBlobDeleter = std::function<void(const void*)>;
18 using CompiledBlobPtr = std::unique_ptr<void, CompiledBlobDeleter>;
19 
20 class ISubgraphViewConverter
21 {
22 public:
~ISubgraphViewConverter()23     virtual ~ISubgraphViewConverter() {}
24 
25     virtual std::vector<CompiledBlobPtr> CompileNetwork() = 0;
26 };
27 
28 } // namespace armnn
29