ArmNN
 25.11
Loading...
Searching...
No Matches
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
9
11
12#include <arm_compute/runtime/NEON/functions/NEElementwiseOperations.h>
13
14namespace 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.
21arm_compute::Status NeonMinimumWorkloadValidate(const TensorInfo& input0,
22 const TensorInfo& input1,
23 const TensorInfo& output);
24
25class NeonMinimumWorkload : public NeonBaseWorkload<MinimumQueueDescriptor>
26{
27public:
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.
32
33 /// Execute the Minimum operation.
34 virtual void Execute() const override;
35
36private:
37 mutable arm_compute::NEElementwiseMin m_MinLayer;
38};
39
40} //namespace armnn
NeonBaseWorkload(const MinimumQueueDescriptor &descriptor, const WorkloadInfo &info)
NeonMinimumWorkload(const MinimumQueueDescriptor &descriptor, const WorkloadInfo &info)
Create a NeonMinimumWorkload.
virtual void Execute() const override
Execute the Minimum operation.
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status NeonMinimumWorkloadValidate(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output)
Validate function for validating the inputs and output.
Contains information about TensorInfos of a layer.