blob: 6cad59800b9f71f3cd7a76d3ff32a9a0517312a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
#include "backends/ClWorkloadUtils.hpp"
#include "arm_compute/runtime/MemoryManagerOnDemand.h"
#include <memory>
namespace armnn
{
class ClSoftmaxFloat32Workload : public FloatWorkload<SoftmaxQueueDescriptor>
{
public:
ClSoftmaxFloat32Workload(const SoftmaxQueueDescriptor& descriptor, const WorkloadInfo& info,
std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
void Execute() const override;
private:
mutable arm_compute::CLSoftmaxLayer m_SoftmaxLayer;
};
} //namespace armnn
|