aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/LayerSupportRegistry.hpp
blob: 6124685032d2c67810c0d7589919db4aa4093b1c (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
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once

#include "RegistryCommon.hpp"
#include <armnn/ILayerSupport.hpp>
#include <armnn/Types.hpp>

namespace armnn
{
using LayerSupportRegistry = RegistryCommon<ILayerSupport,
                                            ILayerSupportSharedPtr,
                                            EmptyInitializer>;

LayerSupportRegistry& LayerSupportRegistryInstance();

template <>
struct RegisteredTypeName<ILayerSupport>
{
    static const char * Name() { return "ILayerSupport"; }
};

} // namespace armnn