1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
8 #include <mkldnn_node.h>
13 namespace MKLDNNPlugin {
15 class MKLDNNSoftMaxNode : public MKLDNNNode {
17 MKLDNNSoftMaxNode(const InferenceEngine::CNNLayerPtr& layer, const mkldnn::engine& eng);
18 ~MKLDNNSoftMaxNode() override = default;
20 void initOptimalPrimitiveDescriptor() override;
21 void createDescriptor(const std::vector<InferenceEngine::TensorDesc>& inputDesc,
22 const std::vector<InferenceEngine::TensorDesc>& outputDesc) override;
23 void getSupportedDescriptors() override;
24 void createPrimitive() override;
25 bool created() const override;
28 static Register<MKLDNNSoftMaxNode> reg;
32 } // namespace MKLDNNPlugin