ArmNN
 20.02
ClSoftmaxUint8Workload.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 // Softmax
18 class ClSoftmaxUint8Workload : public Uint8Workload<SoftmaxQueueDescriptor>
19 {
20 public:
22  std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
23 
24  void Execute() const override;
25 private:
26 
27  mutable arm_compute::CLSoftmaxLayer m_SoftmaxLayer;
28 };
29 
30 } //namespace armnn
31 
Copyright (c) 2020 ARM Limited.
ClSoftmaxUint8Workload(const SoftmaxQueueDescriptor &descriptor, const WorkloadInfo &info, std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager)
Contains information about inputs and outputs to a layer.