10#include <arm_compute/runtime/IFunction.h>
11#include <arm_compute/runtime/Tensor.h>
12#include <arm_compute/runtime/MemoryManagerOnDemand.h>
24 bool isFastMathEnabled =
false,
34 std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager,
35 const bool isFastMathENabled =
false);
42 std::unique_ptr<arm_compute::IFunction> m_ConvolutionLayer;
44 mutable std::unique_ptr<arm_compute::Tensor> m_KernelTensor;
45 mutable std::unique_ptr<arm_compute::Tensor> m_BiasTensor;
48 arm_compute::ConvolutionMethod m_ConvolutionMethod;
49 mutable bool prepared =
false;
Convolution2dQueueDescriptor m_Data
NeonBaseWorkload(const Convolution2dQueueDescriptor &descriptor, const WorkloadInfo &info)
arm_compute::ConvolutionMethod GetConvolutionMethod() const
NeonConvolution2dWorkload(const Convolution2dQueueDescriptor &descriptor, const WorkloadInfo &info, std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager, const bool isFastMathENabled=false)
void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status NeonConvolution2dWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const Convolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, bool isFastMathEnabled, const ActivationDescriptor *activationDescriptor)
An ActivationDescriptor for the ActivationLayer.
A Convolution2dDescriptor for the Convolution2dLayer.
Contains information about TensorInfos of a layer.