1 // Copyright (C) 2018 Intel Corporation
3 // SPDX-License-Identifier: Apache-2.0
9 #include <mkldnn_node.h>
14 namespace MKLDNNPlugin {
16 class MKLDNNSoftMaxNode : public MKLDNNNode {
18 MKLDNNSoftMaxNode(const InferenceEngine::CNNLayerPtr& layer, const mkldnn::engine& eng);
19 ~MKLDNNSoftMaxNode() override = default;
21 void initOptimalPrimitiveDescriptor() override;
22 void createDescriptor(const std::vector<InferenceEngine::TensorDesc>& inputDesc,
23 const std::vector<InferenceEngine::TensorDesc>& outputDesc) override;
24 void getSupportedDescriptors() override;
25 void createPrimitive() override;
26 bool created() const override;
29 static Register<MKLDNNSoftMaxNode> reg;
33 } // namespace MKLDNNPlugin