Release 18.08
[platform/upstream/armnn.git] / src / armnn / backends / RefWorkloads / FullyConnected.hpp
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // See LICENSE file in the project root for full license information.
4 //
5
6 #pragma once
7
8 #include <armnn/Tensor.hpp>
9
10 namespace armnn
11 {
12
13 /// Performs a matrix multiplication and optionally adds a bias.
14 void FullyConnected(const float*      inputData,
15                     float*            outputData,
16                     const TensorInfo& inputTensorInfo,
17                     const TensorInfo& outputTensorInfo,
18                     const float*      weightData,
19                     const float*      biasData,
20                     bool              transposeWeights);
21
22 } //namespace armnn