aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/ISubgraphViewConverter.hpp
blob: 2e108e1f3b57a965cedb85442a72b01ff4db345e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <armnn/Deprecated.hpp>

#include <memory>
#include <vector>
#include <functional>

namespace armnn
{

using CompiledBlobDeleter = std::function<void(const void*)>;
using CompiledBlobPtr = std::unique_ptr<void, CompiledBlobDeleter>;

class ISubgraphViewConverter
{
public:
    virtual ~ISubgraphViewConverter() {}

    virtual std::vector<CompiledBlobPtr> CompileNetwork() = 0;
};

} // namespace armnn