ArmNN
 25.11
Loading...
Searching...
No Matches
NeonConvolution3dWorkload.hpp
Go to the documentation of this file.
1//
2// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
9
10#include <arm_compute/runtime/IFunction.h>
11#include <arm_compute/runtime/Tensor.h>
12#include <arm_compute/runtime/MemoryManagerOnDemand.h>
13
14#include <memory>
15
16namespace armnn
17{
18
19arm_compute::Status NeonConvolution3dWorkloadValidate(const TensorInfo& input,
20 const TensorInfo& output,
21 const Convolution3dDescriptor& descriptor,
22 const TensorInfo& weights,
23 const Optional<TensorInfo>& biases,
24 bool isFastMathEnabled = false,
25 const ActivationDescriptor* activationDescriptor = nullptr);
26
27class NeonConvolution3dWorkload : public NeonBaseWorkload<Convolution3dQueueDescriptor>
28{
29public:
31
33 const WorkloadInfo& info,
34 std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager,
35 const bool isFastMathENabled = false);
36
37 void Execute() const override;
38
39private:
40 std::unique_ptr<arm_compute::IFunction> m_ConvolutionLayer;
41};
42
43} //namespace armnn
NeonBaseWorkload(const Convolution3dQueueDescriptor &descriptor, const WorkloadInfo &info)
NeonConvolution3dWorkload(const Convolution3dQueueDescriptor &descriptor, const WorkloadInfo &info, std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager, const bool isFastMathENabled=false)
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status NeonConvolution3dWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const Convolution3dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, bool isFastMathEnabled, const ActivationDescriptor *activationDescriptor)
An ActivationDescriptor for the ActivationLayer.
A Convolution3dDescriptor for the Convolution3dLayer.
Contains information about TensorInfos of a layer.