aboutsummaryrefslogtreecommitdiff
path: root/tests/SimpleTensorPrinter.h
diff options
context:
space:
mode:
authorSiCongLi <sicong.li@arm.com>2021-08-26 17:44:08 +0100
committerSiCong Li <sicong.li@arm.com>2021-09-03 09:45:37 +0000
commitaed61f2a14199fd54b8f7b0af9980689921fc0cc (patch)
tree0020bfc4a36add3a3547674af4abe1dc3fa730ba /tests/SimpleTensorPrinter.h
parent50335fd3d0734157382741fcf1bfdaf630c60c4b (diff)
downloadComputeLibrary-aed61f2a14199fd54b8f7b0af9980689921fc0cc.tar.gz
Fix CLNormalizationLayer NCHW border calculation
* Calculate border using both norm size and vec_size_x * Expose reference tensor printer Resolves: COMPMID-4793 Change-Id: I7bd8e49779baf7d6848271757bc7993aa1ed2960 Signed-off-by: SiCongLi <sicong.li@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6201 Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> 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 'tests/SimpleTensorPrinter.h')
-rw-r--r--tests/SimpleTensorPrinter.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/SimpleTensorPrinter.h b/tests/SimpleTensorPrinter.h
index 6c1506b40d..5d0299a696 100644
--- a/tests/SimpleTensorPrinter.h
+++ b/tests/SimpleTensorPrinter.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018 Arm Limited.
+ * Copyright (c) 2017-2018, 2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -34,8 +34,6 @@ namespace arm_compute
{
namespace test
{
-namespace
-{
template <typename T>
inline std::string prettify_tensor(const SimpleTensor<T> &input, const IOFormatInfo &io_fmt = IOFormatInfo{ IOFormatInfo::PrintRegion::NoPadding })
{
@@ -152,6 +150,5 @@ void print_simpletensor(const SimpleTensor<T> &tensor, const std::string &title,
}
}
#endif // PRINT_TENSOR_LIMIT
-}
} // namespace test
} // namespace arm_compute