13 #include <arm_compute/runtime/CL/functions/CLConvolutionLayer.h>
14 #include <arm_compute/runtime/MemoryManagerOnDemand.h>
24 const TensorInfo& output,
25 const Convolution2dDescriptor& descriptor,
26 const TensorInfo& weights,
27 const Optional<TensorInfo>& biases,
28 bool isFastMathEnabled =
false,
29 const ActivationDescriptor* activationDescriptor =
nullptr);
36 std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager,
37 const arm_compute::CLCompileContext& clCompileContext,
38 const bool isFastMathEnabled =
false);
61 mutable arm_compute::CLConvolutionLayer m_ConvolutionLayer;
63 arm_compute::ConvolutionMethod m_ConvolutionMethod;
65 std::unique_ptr<ICLTensorProxy> m_InputProxy;
66 std::unique_ptr<ICLTensorProxy> m_WeightsProxy;
67 std::unique_ptr<ICLTensorProxy> m_BiasProxy;
68 std::unique_ptr<ICLTensorProxy> m_OutputProxy;
void Reconfigure() override
ClConvolution2dWorkload(const Convolution2dQueueDescriptor &descriptor, const WorkloadInfo &info, std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager, const arm_compute::CLCompileContext &clCompileContext, const bool isFastMathEnabled=false)
arm_compute::ConvolutionMethod GetConvolutionMethod() const
bool SupportsTensorHandleReplacement() const override
void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status ClConvolution2dWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const Convolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, bool isFastMathEnabled, const ActivationDescriptor *activationDescriptor)
Contains information about TensorInfos of a layer.