24.02
NeonMinimumWorkload.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
/// Validate function for validating the inputs and output.
18
/// @param [in] input0 The input0 value to be validated.
19
/// @param [in] input1 The input1 value to be validated.
20
/// @param [in] output The output value to be validated.
21
arm_compute::Status
NeonMinimumWorkloadValidate
(
const
TensorInfo& input0,
22
const
TensorInfo& input1,
23
const
TensorInfo& output);
24
25
class
NeonMinimumWorkload
:
public
NeonBaseWorkload
<MinimumQueueDescriptor>
26
{
27
public
:
28
/// Create a NeonMinimumWorkload.
29
/// @param [in] descriptor The MinimumQueueDescriptor to configure this operation.
30
/// @param [in] info The workload where this operation can be found.
31
NeonMinimumWorkload
(
const
MinimumQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
32
33
/// Execute the Minimum operation.
34
virtual
void
Execute
()
const override
;
35
36
private
:
37
mutable
arm_compute::NEElementwiseMin m_MinLayer;
38
};
39
40
}
//namespace armnn
armnn::NeonMinimumWorkloadValidate
arm_compute::Status NeonMinimumWorkloadValidate(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output)
Validate function for validating the inputs and output.
Definition:
NeonMinimumWorkload.cpp:15
NeonBaseWorkload.hpp
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonMinimumWorkload
Definition:
NeonMinimumWorkload.hpp:25
armnn::NeonMinimumWorkload::Execute
virtual void Execute() const override
Execute the Minimum operation.
Definition:
NeonMinimumWorkload.cpp:41
armnn::Status
Status
Definition:
Types.hpp:42
armnn::NeonMinimumWorkload::NeonMinimumWorkload
NeonMinimumWorkload(const MinimumQueueDescriptor &descriptor, const WorkloadInfo &info)
Create a NeonMinimumWorkload.
Definition:
NeonMinimumWorkload.cpp:28
NeonWorkloadUtils.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
armnn::MinimumQueueDescriptor
Definition:
WorkloadData.hpp:473
armnn::NeonBaseWorkload
Definition:
NeonBaseWorkload.hpp:13
src
backends
neon
workloads
NeonMinimumWorkload.hpp
Generated on Wed Feb 14 2024 16:36:16 for Arm NN by
1.8.17