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