ArmNN
 20.02
FullyConnected.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "BaseIterator.hpp"
9 #include "Decoders.hpp"
10 #include "Encoders.hpp"
11 #include <armnn/Tensor.hpp>
13 
14 namespace armnn
15 {
16 
17 /// Performs a matrix multiplication and optionally adds a bias.
18 void 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);
27 
28 } //namespace armnn
void FullyConnected(const TensorShape &rInputShape, Decoder< float > &rInputDecoder, const TensorShape &rOutputShape, Encoder< float > &rOutputEncoder, Decoder< float > &rWeightDecoder, Decoder< float > &rBiasDecoder, const bool biasEnabled, const unsigned int K, const bool transposeWeights)
Performs a matrix multiplication and optionally adds a bias.
Copyright (c) 2020 ARM Limited.