blob: 0472091fbf6513b20c3e9b2cad0337e161243442 (
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
30
|
//
// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <backendsCommon/Workload.hpp>
#include <arm_compute/runtime/NEON/functions/NEReductionOperation.h>
namespace armnn
{
arm_compute::Status NeonReduceWorkloadValidate(const TensorInfo& input,
const TensorInfo& output,
const ReduceDescriptor& desc);
class NeonReduceWorkload : public BaseWorkload<ReduceQueueDescriptor>
{
public:
NeonReduceWorkload(const ReduceQueueDescriptor& descriptor, const WorkloadInfo& info);
void Execute() const override;
private:
mutable arm_compute::NEReductionOperation m_Layer;
};
} //namespace armnn
|