2 // Copyright (c) 2016 Intel Corporation
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
17 ///////////////////////////////////////////////////////////////////////////////////////////////////
23 /// @addtogroup c_api C API
25 /// @addtogroup c_topology Network Topology
27 /// @addtogroup c_primitives Primitives
34 /// @brief Performs forward attention layer.
36 CLDNN_BEGIN_PRIMITIVE_DESC(gemm)
37 /// @brief Variable containing ALPHA parameter
39 /// @brief Variable containing BETA parameter
41 /// @brief Flag for transposing first input matrix
42 bool transpose_input1;
43 /// @brief Flag for transposing second input matrix
44 bool transpose_input2;
45 CLDNN_END_PRIMITIVE_DESC(gemm)
47 CLDNN_DECLARE_PRIMITIVE_TYPE_ID(gemm);