ArmNN
 25.02
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RefFullyConnectedWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2022, 2024 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "RefBaseWorkload.hpp"
10 #include "BaseIterator.hpp"
11 #include "Decoders.hpp"
12 #include "Encoders.hpp"
13 
14 
15 namespace armnn
16 {
17 
18 class RefFullyConnectedWorkload : public RefBaseWorkload<FullyConnectedQueueDescriptor>
19 {
20 public:
22  const WorkloadInfo& info);
23 
24  void Execute() const override;
25 
26 private:
27  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
28 
29  const TensorShape m_InputShape;
30  const TensorShape m_WeightShape;
31  const TensorShape m_OutputShape;
32  const unsigned int m_NumActivations;
33 };
34 
35 } //namespace armnn
RefFullyConnectedWorkload(const FullyConnectedQueueDescriptor &descriptor, const WorkloadInfo &info)
Copyright (c) 2021 ARM Limited and Contributors.
Contains information about TensorInfos of a layer.