Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / src / mkldnn_plugin / nodes / mkldnn_tile_node.h
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4
5 #pragma once
6
7 #include <ie_common.h>
8 #include <mkldnn_node.h>
9 #include <string>
10
11 namespace MKLDNNPlugin {
12
13 class MKLDNNTileNode : public MKLDNNNode {
14 public:
15     MKLDNNTileNode(const InferenceEngine::CNNLayerPtr& layer, const mkldnn::engine& eng);
16     ~MKLDNNTileNode() override = default;
17
18     void getSupportedDescriptors() override;
19     void initSupportedPrimitiveDescriptors() override;
20     void createPrimitive() override;
21     void execute(mkldnn::stream strm) override;
22     bool created() const override;
23
24 private:
25     static Register<MKLDNNTileNode> reg;
26     int axis = 0;
27     int tiles = 0;
28 };
29
30 }  // namespace MKLDNNPlugin
31