blob: 34789a2b289faee35b31a41b45d5ccb72608bf97 (
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
29
30
31
32
33
|
//
// 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;
};
///
/// Old ISubGraphConverter definition kept for backward compatibility only.
///
using ISubGraphConverter ARMNN_DEPRECATED_MSG("This type is no longer supported") = ISubgraphViewConverter;
} // namespace armnn
|