blob: 78fa055086a2479f7575a17cc4a686d1d14f4977 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include "BaseIterator.hpp"
#include "Decoders.hpp"
#include "Encoders.hpp"
#include <armnn/Tensor.hpp>
#include <backendsCommon/WorkloadData.hpp>
namespace armnn
{
/// Performs a matrix multiplication and optionally adds a bias.
void FullyConnected(const TensorShape& rInputShape,
Decoder<float>& rInputDecoder,
const TensorShape& rOutputShape,
Encoder<float>& rOutputEncoder,
Decoder<float>& rWeightDecoder,
Decoder<float>& rBiasDecoder,
bool biasEnabled,
unsigned int K,
bool transposeWeights);
} //namespace armnn
|