aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/ISubgraphViewConverter.hpp
blob: 4b2c10298dfbd3fa60d9ac5a6e0e38e76ff8952a (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
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#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