blob: c5692084c985fc0c266475a691aab51304093c04 [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
Matthew Benthamd80a7122019-01-08 17:52:37 +00008#include <backendsCommon/Workload.hpp>
9
10#include <arm_compute/runtime/IFunction.h>
David Beck0dbe0ee2018-09-24 15:59:27 +010011#include <arm_compute/runtime/MemoryManagerOnDemand.h>
surmeh013537c2c2018-05-18 16:31:43 +010012
Matthew Benthamd80a7122019-01-08 17:52:37 +000013#include <memory>
14
telsoa014fcda012018-03-09 14:13:49 +000015namespace armnn
16{
17
18class NeonSoftmaxUint8Workload : public Uint8Workload<SoftmaxQueueDescriptor>
19{
20public:
surmeh013537c2c2018-05-18 16:31:43 +010021 NeonSoftmaxUint8Workload(const SoftmaxQueueDescriptor& descriptor, const WorkloadInfo& info,
22 std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
telsoa014fcda012018-03-09 14:13:49 +000023 virtual void Execute() const override;
24
25private:
Matthew Benthamd80a7122019-01-08 17:52:37 +000026 std::unique_ptr<arm_compute::IFunction> m_SoftmaxLayer;
telsoa014fcda012018-03-09 14:13:49 +000027};
28
29} //namespace armnn
30