24.08
NeonSqrtWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#pragma once
7
8
#include "
NeonBaseWorkload.hpp
"
9
#include <arm_compute/core/Error.h>
10
#include <arm_compute/runtime/NEON/functions/NEActivationLayer.h>
11
12
namespace
armnn
13
{
14
15
arm_compute::Status
NeonSqrtWorkloadValidate
(
const
TensorInfo& input,
const
TensorInfo& output);
16
17
class
NeonSqrtWorkload
:
public
NeonBaseWorkload
<ElementwiseUnaryQueueDescriptor>
18
{
19
public
:
20
NeonSqrtWorkload
(
const
ElementwiseUnaryQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
21
virtual
void
Execute
()
const override
;
22
23
private
:
24
mutable
arm_compute::NEActivationLayer m_SqrtLayer;
25
};
26
27
}
//namespace armnn
NeonBaseWorkload.hpp
armnn::NeonSqrtWorkload::Execute
virtual void Execute() const override
Definition:
NeonSqrtWorkload.cpp:57
armnn::NeonSqrtWorkloadValidate
arm_compute::Status NeonSqrtWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
Definition:
NeonSqrtWorkload.cpp:18
armnn::ElementwiseUnaryQueueDescriptor
Definition:
WorkloadData.hpp:676
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition:
Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
armnn::NeonSqrtWorkload::NeonSqrtWorkload
NeonSqrtWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
NeonSqrtWorkload.cpp:31
armnn::NeonSqrtWorkload
Definition:
NeonSqrtWorkload.hpp:17
armnn::NeonBaseWorkload
Definition:
NeonBaseWorkload.hpp:13
src
backends
neon
workloads
NeonSqrtWorkload.hpp
Generated on Wed Aug 28 2024 14:31:51 for Arm NN by
1.8.17