1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
8 #include <mkldnn_node.h>
12 namespace MKLDNNPlugin {
14 class MKLDNNGemmNode : public MKLDNNNode {
16 MKLDNNGemmNode(const InferenceEngine::CNNLayerPtr& layer, const mkldnn::engine& eng);
17 ~MKLDNNGemmNode() override = default;
19 void getSupportedDescriptors() override;
20 void initSupportedPrimitiveDescriptors() override;
21 void createPrimitive() override;
22 void execute(mkldnn::stream strm) override;
23 bool created() const override;
24 int getMaxBatch() override;
27 static Register<MKLDNNGemmNode> reg;
30 bool transposeA = false;
31 bool transposeB = false;
36 bool isThreeInputs = false;
38 std::vector<int> aOffsets;
39 std::vector<int> bOffsets;
40 std::vector<int> cOffsets;
43 } // namespace MKLDNNPlugin