ArmNN
 24.02
UtilsGpuFsa.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2023-2024 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "armnn/Descriptors.hpp"
9 #include "arm_compute/dynamic_fusion/sketch/attributes/Conv2dAttributes.h"
10 #include "arm_compute/dynamic_fusion/sketch/attributes/DepthwiseConv2dAttributes.h"
11 #include "arm_compute/dynamic_fusion/sketch/attributes/Pool2dAttributes.h"
12 #include "arm_compute/dynamic_fusion/sketch/attributes/ResizeAttributes.h"
13 
14 /// Utility function used to setup an arm_compute::Conv2dAttributes object from given descriptor
15 /// @param[in] armnn::Convolution2dDescriptor
16 /// @return arm_compute::experimental::dynamic_fusion::Conv2dAttributes
17 arm_compute::experimental::dynamic_fusion::Conv2dAttributes
19 
20 /// Utility function used to setup an arm_compute::DepthwiseConv2dAttributes object from given descriptor
21 /// @param[in] armnn::DepthwiseConvolution2dDescriptor
22 /// @return arm_compute::experimental::dynamic_fusion::DepthwiseConv2dAttributes
23 arm_compute::experimental::dynamic_fusion::DepthwiseConv2dAttributes
25  const unsigned int aclDepthMultiplier);
26 
27 /// Utility function used to setup an arm_compute::Pool2dAttributes object from given descriptor
28 /// @param[in] armnn::Pooling2dDescriptor
29 /// @return arm_compute::experimental::dynamic_fusion::Pool2dAttributes
30 arm_compute::experimental::dynamic_fusion::Pool2dAttributes
32 
33 /// Utility function used to setup an arm_compute::ResizeDescriptor object from given descriptor
34 /// @param[in] armnn::ResizeDescriptor
35 /// @return arm_compute::experimental::dynamic_fusion::ResizeAttributes
36 arm_compute::experimental::dynamic_fusion::ResizeAttributes
Descriptors.hpp
armnn::ResizeDescriptor
A ResizeDescriptor for the ResizeLayer.
Definition: Descriptors.hpp:985
CreatePool2dAttributes
arm_compute::experimental::dynamic_fusion::Pool2dAttributes CreatePool2dAttributes(const armnn::Pooling2dDescriptor &descriptor)
Utility function used to setup an arm_compute::Pool2dAttributes object from given descriptor.
Definition: UtilsGpuFsa.cpp:45
CreateDWConv2dAttributes
arm_compute::experimental::dynamic_fusion::DepthwiseConv2dAttributes CreateDWConv2dAttributes(const armnn::DepthwiseConvolution2dDescriptor &descriptor, const unsigned int aclDepthMultiplier)
Utility function used to setup an arm_compute::DepthwiseConv2dAttributes object from given descriptor...
Definition: UtilsGpuFsa.cpp:29
armnn::Convolution2dDescriptor
A Convolution2dDescriptor for the Convolution2dLayer.
Definition: Descriptors.hpp:534
armnn::Pooling2dDescriptor
A Pooling2dDescriptor for the Pooling2dLayer.
Definition: Descriptors.hpp:371
armnn::DepthwiseConvolution2dDescriptor
A DepthwiseConvolution2dDescriptor for the DepthwiseConvolution2dLayer.
Definition: Descriptors.hpp:659
CreateResizeAttributes
arm_compute::experimental::dynamic_fusion::ResizeAttributes CreateResizeAttributes(const armnn::ResizeDescriptor &descriptor)
Utility function used to setup an arm_compute::ResizeDescriptor object from given descriptor.
Definition: UtilsGpuFsa.cpp:64
CreateConv2dAttributes
arm_compute::experimental::dynamic_fusion::Conv2dAttributes CreateConv2dAttributes(const armnn::Convolution2dDescriptor &descriptor)
Utility function used to setup an arm_compute::Conv2dAttributes object from given descriptor.
Definition: UtilsGpuFsa.cpp:14