diff options
Diffstat (limited to 'src/core/NEON/kernels/convolution/depthwise/impl_fp16_fp16.hpp')
-rw-r--r-- | src/core/NEON/kernels/convolution/depthwise/impl_fp16_fp16.hpp | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/src/core/NEON/kernels/convolution/depthwise/impl_fp16_fp16.hpp b/src/core/NEON/kernels/convolution/depthwise/impl_fp16_fp16.hpp index cbdb19a067..87d2bfd8e6 100644 --- a/src/core/NEON/kernels/convolution/depthwise/impl_fp16_fp16.hpp +++ b/src/core/NEON/kernels/convolution/depthwise/impl_fp16_fp16.hpp @@ -30,8 +30,8 @@ * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC -#include "arm_compute/core/NEON/kernels/convolution/common/arm.hpp" -#include "arm_compute/core/NEON/kernels/convolution/depthwise/impl_base.hpp" +#include "arm.hpp" +#include "impl_base.hpp" #pragma once @@ -68,6 +68,31 @@ template < unsigned int KernelRows, unsigned int KernelCols, unsigned int StrideRows, unsigned int StrideCols > +DepthwiseConvolution< + OutputTileRows, OutputTileCols, + KernelRows, KernelCols, StrideRows, StrideCols, + float16_t, float16_t, float16_t +>::DepthwiseConvolution( + int n_batches, int n_input_rows, int n_input_cols, int n_channels, + int n_output_rows, int n_output_cols, + ActivationFunction activation, + unsigned int padding_top, + unsigned int padding_left, + unsigned int padding_bottom, + unsigned int padding_right +) : Base( + n_batches, n_input_rows, n_input_cols, n_channels, + n_output_rows, n_output_cols, activation, + padding_top, padding_left, padding_bottom, padding_right + ) +{ +} + +template < + unsigned int OutputTileRows, unsigned int OutputTileCols, + unsigned int KernelRows, unsigned int KernelCols, + unsigned int StrideRows, unsigned int StrideCols +> template <ActivationFunction Activation> void DepthwiseConvolution< OutputTileRows, OutputTileCols, |