ArmNN
 20.08
NeonMinimumWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
9 
10 #include <arm_compute/runtime/NEON/functions/NEElementwiseOperations.h>
11 
12 namespace armnn
13 {
14 
15 /// Validate function for validating the inputs and output.
16 /// @param [in] input0 The input0 value to be validated.
17 /// @param [in] input1 The input1 value to be validated.
18 /// @param [in] output The output value to be validated.
19 arm_compute::Status NeonMinimumWorkloadValidate(const TensorInfo& input0,
20  const TensorInfo& input1,
21  const TensorInfo& output);
22 
23 class NeonMinimumWorkload : public BaseWorkload<MinimumQueueDescriptor>
24 {
25 public:
26  /// Create a NeonMinimumWorkload.
27  /// @param [in] descriptor The MinimumQueueDescriptor to configure this operation.
28  /// @param [in] info The workload where this operation can be found.
30 
31  /// Execute the Minimum operation.
32  virtual void Execute() const override;
33 
34 private:
35  mutable arm_compute::NEElementwiseMin m_MinLayer;
36 };
37 
38 } //namespace armnn
arm_compute::Status NeonMinimumWorkloadValidate(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output)
Validate function for validating the inputs and output.
NeonMinimumWorkload(const MinimumQueueDescriptor &descriptor, const WorkloadInfo &info)
Create a NeonMinimumWorkload.
Copyright (c) 2020 ARM Limited.
virtual void Execute() const override
Execute the Minimum operation.
Status
enumeration
Definition: Types.hpp:26
Contains information about inputs and outputs to a layer.