blob: 0d72514ec065ec1c7cbf7e7dc216c8e768f0a203 [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5
6#pragma once
7
David Beck0dbe0ee2018-09-24 15:59:27 +01008#include <backends/neon/workloads/NeonWorkloadUtils.hpp>
9#include <arm_compute/runtime/MemoryManagerOnDemand.h>
surmeh013537c2c2018-05-18 16:31:43 +010010
telsoa014fcda012018-03-09 14:13:49 +000011namespace armnn
12{
13
14class NeonSoftmaxUint8Workload : public Uint8Workload<SoftmaxQueueDescriptor>
15{
16public:
surmeh013537c2c2018-05-18 16:31:43 +010017 NeonSoftmaxUint8Workload(const SoftmaxQueueDescriptor& descriptor, const WorkloadInfo& info,
18 std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
telsoa014fcda012018-03-09 14:13:49 +000019 virtual void Execute() const override;
20
21private:
22 mutable arm_compute::NESoftmaxLayer m_SoftmaxLayer;
23};
24
25} //namespace armnn
26