diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-02-15 20:42:39 +0000 |
---|---|---|
committer | Giorgio Arena <giorgio.arena@arm.com> | 2021-02-16 11:55:12 +0000 |
commit | 2ee9801bd874c87bc2e3645f220de1de85e9b75d (patch) | |
tree | 562ece9612f9978dd13ba2c696deadbdbbcc14ac /arm_compute/graph | |
parent | bae22373a71ccf9b4c008e62f081344a929ffb24 (diff) | |
download | ComputeLibrary-2ee9801bd874c87bc2e3645f220de1de85e9b75d.tar.gz |
Handle Conv2d layer with implicit output padding in NHWC
Corner cases exist when output top/bottom padding is non-zero for
Convolution Layer. This can cause invalid output from the
NEGEMMConvolutionLayer as assembly kernel integration does not
efficiently handles such cases.
As a workaround we always allocate a memory-managed auxiliary tensor
which we use as an output for GEMM when padding exists and then we copy
to the padded output. If no padding exists we import the output tensor
memory to the temporary buffer and perform calculation as we did before.
Resolves: COMPMID-4114
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: If82d0e115b8369b91d775895d5315b044306cc74
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5083
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph')
0 files changed, 0 insertions, 0 deletions