blob: b3bcbf38b50893b90f740e99897090370c10039f [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
Aron Virginas-Tarc9cc8042018-11-01 16:15:57 +00008#include <neon/workloads/NeonWorkloadUtils.hpp>
David Beck0dbe0ee2018-09-24 15:59:27 +01009#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