blob: f894c5a958883dd28f01fc1aa1aa978f283cc1ac [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
8#include <backends/NeonWorkloadUtils.hpp>
9
surmeh013537c2c2018-05-18 16:31:43 +010010#include "arm_compute/runtime/MemoryManagerOnDemand.h"
11
telsoa014fcda012018-03-09 14:13:49 +000012namespace armnn
13{
14
15class NeonSoftmaxUint8Workload : public Uint8Workload<SoftmaxQueueDescriptor>
16{
17public:
surmeh013537c2c2018-05-18 16:31:43 +010018 NeonSoftmaxUint8Workload(const SoftmaxQueueDescriptor& descriptor, const WorkloadInfo& info,
19 std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
telsoa014fcda012018-03-09 14:13:49 +000020 virtual void Execute() const override;
21
22private:
23 mutable arm_compute::NESoftmaxLayer m_SoftmaxLayer;
24};
25
26} //namespace armnn
27