ArmNN
 20.02
NeonSoftmaxFloatWorkload.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 
9 
10 #include <arm_compute/runtime/IFunction.h>
11 #include <arm_compute/runtime/MemoryManagerOnDemand.h>
12 
13 #include <memory>
14 
15 namespace armnn
16 {
17 
18 class NeonSoftmaxFloatWorkload : public FloatWorkload<SoftmaxQueueDescriptor>
19 {
20 public:
22  std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
23  virtual void Execute() const override;
24 
25 private:
26  std::unique_ptr<arm_compute::IFunction> m_SoftmaxLayer;
27 };
28 
29 } //namespace armnn
30 
NeonSoftmaxFloatWorkload(const SoftmaxQueueDescriptor &descriptor, const WorkloadInfo &info, std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager)
Copyright (c) 2020 ARM Limited.
virtual void Execute() const override
Contains information about inputs and outputs to a layer.