ArmNN
 22.05.01
RefFullyConnectedWorkload.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 "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  void ExecuteAsync(WorkingMemDescriptor& workingMemDescriptor) override;
26 
27 private:
28  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
29 
30  const TensorShape m_InputShape;
31  const TensorShape m_WeightShape;
32  const TensorShape m_OutputShape;
33  const unsigned int m_NumActivations;
34 };
35 
36 } //namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
void ExecuteAsync(WorkingMemDescriptor &workingMemDescriptor) override
RefFullyConnectedWorkload(const FullyConnectedQueueDescriptor &descriptor, const WorkloadInfo &info)
Contains information about TensorInfos of a layer.