aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/Reference.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2017-06-13 15:19:51 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 13:03:43 +0100
commitf795986c8d4594279c277b14a33d29e48b2a4def (patch)
tree83c6c888e69fa380acaf81988f6a05d8035f627d /tests/validation/Reference.h
parent7b06cde62a19ae0fda7bbbf0ab0bf18a88470af8 (diff)
downloadComputeLibrary-f795986c8d4594279c277b14a33d29e48b2a4def.tar.gz
COMPMID-378 NEMeanStdDev test completed.
Change-Id: I46fb77c0cb507a4c0fe3264a89dd7b2ba63c44dc Reviewed-on: http://mpd-gerrit.cambridge.arm.com/77427 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Steven Niu <steven.niu@arm.com>
Diffstat (limited to 'tests/validation/Reference.h')
-rw-r--r--tests/validation/Reference.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/validation/Reference.h b/tests/validation/Reference.h
index 4e5b462f9e..06a38c41f2 100644
--- a/tests/validation/Reference.h
+++ b/tests/validation/Reference.h
@@ -37,6 +37,13 @@ namespace validation
class Reference
{
public:
+ /** Compute reference mean and standard deviation.
+ *
+ * @param[in] shape Shape of the input tensors.
+ *
+ * @return Computed mean and standard deviation.
+ */
+ static std::pair<float, float> compute_reference_mean_and_standard_deviation(const TensorShape &shape);
/** Compute reference integral image.
*
* @param[in] shape Shape of the input and output tensors.