blob: 6f9559db249a056c097ef94a92ecfd9a8cdcd042 [file] [log] [blame]
Laurent Carlier749294b2020-06-01 09:03:17 +01001//
telsoa014fcda012018-03-09 14:13:49 +00002// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5
6#pragma once
7
Francis Murtagh43aec582019-05-27 12:14:10 +01008#include "BaseIterator.hpp"
9#include "Decoders.hpp"
10#include "Encoders.hpp"
telsoa014fcda012018-03-09 14:13:49 +000011#include <armnn/Tensor.hpp>
Francis Murtagh43aec582019-05-27 12:14:10 +010012#include <backendsCommon/WorkloadData.hpp>
telsoa014fcda012018-03-09 14:13:49 +000013
14namespace armnn
15{
16
telsoa01c577f2c2018-08-31 09:22:23 +010017/// Performs a matrix multiplication and optionally adds a bias.
Francis Murtagh43aec582019-05-27 12:14:10 +010018void FullyConnected(const TensorShape& rInputShape,
19 Decoder<float>& rInputDecoder,
20 const TensorShape& rOutputShape,
21 Encoder<float>& rOutputEncoder,
22 Decoder<float>& rWeightDecoder,
23 Decoder<float>& rBiasDecoder,
24 bool biasEnabled,
25 unsigned int K,
26 bool transposeWeights);
telsoa014fcda012018-03-09 14:13:49 +000027
28} //namespace armnn