Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / src / mkldnn_plugin / nodes / mkldnn_reshape_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 #include <vector>
11 #include <memory>
12
13 namespace MKLDNNPlugin {
14
15 class MKLDNNReshapeNode : public MKLDNNNode {
16 public:
17     MKLDNNReshapeNode(const InferenceEngine::CNNLayerPtr& layer, const mkldnn::engine& eng);
18     ~MKLDNNReshapeNode() override = default;
19
20     void getSupportedDescriptors() override;
21     void initSupportedPrimitiveDescriptors() override;
22     void createPrimitive() override;
23     bool created() const override;
24
25 private:
26     static Register<MKLDNNReshapeNode> reg;
27 };
28
29 }  // namespace MKLDNNPlugin
30