aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON
diff options
context:
space:
mode:
authorSheri Zhang <sheri.zhang@arm.com>2021-10-15 19:54:17 +0100
committerSheri Zhang <sheri.zhang@arm.com>2021-10-18 17:36:47 +0000
commit5dda2177800009b24e31550ed849b1ef3fca6167 (patch)
treedfce69d52db6111d6751f4ee4add6ab172a3290d /src/runtime/NEON
parentc9cecc0e565e7b4978cecc92e03e6c93bb8d0cb9 (diff)
downloadComputeLibrary-5dda2177800009b24e31550ed849b1ef3fca6167.tar.gz
DirectConv3d support refine
- Decouple data support of CpuDirectConv3dKernel - Update documentation for Conv3d Signed-off-by: Sheri Zhang <sheri.zhang@arm.com> Change-Id: I1d94aa28f821f45a1a3d39cc3335c8faeee89f0d Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6453 Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/NEON')
-rw-r--r--src/runtime/NEON/functions/NEConv3D.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/runtime/NEON/functions/NEConv3D.cpp b/src/runtime/NEON/functions/NEConv3D.cpp
index b5e2e2a843..3bb66c44b0 100644
--- a/src/runtime/NEON/functions/NEConv3D.cpp
+++ b/src/runtime/NEON/functions/NEConv3D.cpp
@@ -27,7 +27,6 @@
#include "arm_compute/core/Utils.h"
#include "arm_compute/core/Validate.h"
#include "src/common/utils/Log.h"
-#include "src/core/helpers/MemoryHelpers.h"
#include "src/cpu/operators/CpuDirectConv3d.h"
namespace arm_compute
@@ -58,7 +57,7 @@ void NEConv3D::configure(ITensor *input, const ITensor *weights, const ITensor *
f->configure(input->info(), weights->info(), ((biases != nullptr) ? biases->info() : nullptr), output->info(), conv_info);
_impl->op = std::move(f);
- if(_impl->op)
+ if(_impl->op != nullptr)
{
_impl->run_pack = { { ACL_SRC_0, input }, { ACL_SRC_1, weights }, { ACL_SRC_2, biases }, { ACL_DST, output } };
}
@@ -73,7 +72,7 @@ Status NEConv3D::validate(const ITensorInfo *input, const ITensorInfo *weights,
void NEConv3D::run()
{
- if(_impl->op)
+ if(_impl->op != nullptr)
{
_impl->op->run(_impl->run_pack);
}