24.02
NeonNegWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2020 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 <arm_compute/core/Error.h>
11
#include <arm_compute/runtime/NEON/functions/NEElementwiseUnaryLayer.h>
12
13
namespace
armnn
14
{
15
16
arm_compute::Status
NeonNegWorkloadValidate
(
const
TensorInfo& input,
const
TensorInfo& output);
17
18
class
NeonNegWorkload
:
public
NeonBaseWorkload
<ElementwiseUnaryQueueDescriptor>
19
{
20
public
:
21
NeonNegWorkload
(
const
ElementwiseUnaryQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
22
virtual
void
Execute
()
const override
;
23
24
private
:
25
mutable
arm_compute::NENegLayer m_NegLayer;
26
};
27
28
}
// namespace armnn
armnn::NeonNegWorkloadValidate
arm_compute::Status NeonNegWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
Definition:
NeonNegWorkload.cpp:17
NeonBaseWorkload.hpp
armnn::ElementwiseUnaryQueueDescriptor
Definition:
WorkloadData.hpp:676
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::NeonNegWorkload::Execute
virtual void Execute() const override
Definition:
NeonNegWorkload.cpp:36
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonNegWorkload::NeonNegWorkload
NeonNegWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
NeonNegWorkload.cpp:25
armnn::Status
Status
Definition:
Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
armnn::NeonBaseWorkload
Definition:
NeonBaseWorkload.hpp:13
armnn::NeonNegWorkload
Definition:
NeonNegWorkload.hpp:18
src
backends
neon
workloads
NeonNegWorkload.hpp
Generated on Wed Feb 14 2024 16:36:16 for Arm NN by
1.8.17