blob: 504dc276ada3a3c3541bb80bc0a77e7f588bb18e (
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 © 2017 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include "NeonBaseWorkload.hpp"
#include <arm_compute/runtime/NEON/functions/NEReduceMean.h>
namespace armnn
{
arm_compute::Status NeonMeanWorkloadValidate(const TensorInfo& input,
const TensorInfo& output,
const MeanDescriptor& descriptor);
class NeonMeanWorkload : public NeonBaseWorkload<MeanQueueDescriptor>
{
public:
NeonMeanWorkload(const MeanQueueDescriptor& descriptor, const WorkloadInfo& info);
void Execute() const override;
private:
mutable arm_compute::NEReduceMean m_Layer;
};
} //namespace armnn
|