Publishing 2019 R1.1 content and Myriad plugin sources (#162)
[platform/upstream/dldt.git] / inference-engine / src / mkldnn_plugin / nodes / mkldnn_gemm_node.cpp
index 2874d9d..07c5f83 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Intel Corporation
+// Copyright (C) 2018-2019 Intel Corporation
 // SPDX-License-Identifier: Apache-2.0
 //
 
@@ -52,6 +52,8 @@ void MKLDNNGemmNode::getSupportedDescriptors() {
     xAxis = nDims - 1;
     yAxis = nDims - 2;
 
+    // The check inDims0[xAxis] != inDims1[yAxis] is correct due to layer semantic
+    // coverity[copy_paste_error]
     if (inDims0[xAxis] != inDims1[yAxis] || inDims0[yAxis] != outDims[yAxis] || inDims1[xAxis] != outDims[xAxis])
         THROW_IE_EXCEPTION << "Spatial input and output dimensions are incorrect for layer " << getName();