24.02
NeonMaximumWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include "
NeonBaseWorkload.hpp
"
9
10
#include <
neon/workloads/NeonWorkloadUtils.hpp
>
11
12
#include <arm_compute/runtime/NEON/functions/NEElementwiseOperations.h>
13
14
namespace
armnn
15
{
16
17
arm_compute::Status
NeonMaximumWorkloadValidate
(
const
TensorInfo& input0,
18
const
TensorInfo& input1,
19
const
TensorInfo& output);
20
21
class
NeonMaximumWorkload
:
public
NeonBaseWorkload
<MaximumQueueDescriptor>
22
{
23
public
:
24
NeonMaximumWorkload
(
const
MaximumQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
25
26
virtual
void
Execute
()
const override
;
27
28
private
:
29
mutable
arm_compute::NEElementwiseMax m_MaxLayer;
30
};
31
32
}
//namespace armnn
armnn::MaximumQueueDescriptor
Definition:
WorkloadData.hpp:282
armnn::NeonMaximumWorkload::NeonMaximumWorkload
NeonMaximumWorkload(const MaximumQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
NeonMaximumWorkload.cpp:27
armnn::NeonMaximumWorkloadValidate
arm_compute::Status NeonMaximumWorkloadValidate(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output)
Definition:
NeonMaximumWorkload.cpp:14
NeonBaseWorkload.hpp
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition:
Types.hpp:42
NeonWorkloadUtils.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
armnn::NeonMaximumWorkload::Execute
virtual void Execute() const override
Definition:
NeonMaximumWorkload.cpp:40
armnn::NeonMaximumWorkload
Definition:
NeonMaximumWorkload.hpp:21
armnn::NeonBaseWorkload
Definition:
NeonBaseWorkload.hpp:13
src
backends
neon
workloads
NeonMaximumWorkload.hpp
Generated on Wed Feb 14 2024 16:36:16 for Arm NN by
1.8.17