aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets
diff options
context:
space:
mode:
authorPablo Tello <pablo.tello@arm.com>2019-04-23 12:06:19 +0100
committerPablo Marquez <pablo.tello@arm.com>2019-04-25 10:34:40 +0000
commit0a33a2117018291ff9bb5df5a44e1285aa3f1e41 (patch)
treefc3434c5a8f9b5fa1a204f15de61adac5e1a82c6 /tests/datasets
parentad5d7b09e8c4b883faf1ad575e51c401a96a6699 (diff)
downloadComputeLibrary-0a33a2117018291ff9bb5df5a44e1285aa3f1e41.tar.gz
COMPMID-2114: CLBatchToSpace missing validation test
Added test cases to exercise block_x != block_y path. Fixed CL back validation test to allow different block values for xy Change-Id: I8c354aceec16d9b16c2f7fcd2cae3f09b747ec0a Signed-off-by: Pablo Tello <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/1017 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Usama Arif <usama.arif@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Diffstat (limited to 'tests/datasets')
-rw-r--r--tests/datasets/BatchToSpaceDataset.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/datasets/BatchToSpaceDataset.h b/tests/datasets/BatchToSpaceDataset.h
index 63e6214939..7449392ec9 100644
--- a/tests/datasets/BatchToSpaceDataset.h
+++ b/tests/datasets/BatchToSpaceDataset.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018 ARM Limited.
+ * Copyright (c) 2018-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -117,6 +117,8 @@ public:
add_config(TensorShape(1U, 2U, 2U, 4U), TensorShape(2U), TensorShape(2U, 4U, 2U, 1U));
add_config(TensorShape(1U, 3U, 1U, 8U), TensorShape(2U), TensorShape(2U, 6U, 1U, 2U));
add_config(TensorShape(3U, 4U, 1U, 4U), TensorShape(2U), TensorShape(6U, 8U, 1U, 1U));
+ add_config(TensorShape(1U, 1U, 1U, 8U), TensorShape(4U, 2U), TensorShape(4U, 2U, 1U, 1U));
+ add_config(TensorShape(3U, 1U, 1U, 8U), TensorShape(2U, 4U), TensorShape(6U, 4U, 1U, 1U));
}
};
@@ -127,6 +129,8 @@ public:
{
add_config(TensorShape(64U, 32U, 2U, 4U), TensorShape(2U), TensorShape(128U, 64U, 2U, 1U));
add_config(TensorShape(128U, 16U, 2U, 16U), TensorShape(2U), TensorShape(512U, 64U, 2U, 1U));
+ add_config(TensorShape(16U, 8U, 2U, 8U), TensorShape(4U, 2U), TensorShape(64U, 16U, 2U, 1U));
+ add_config(TensorShape(8U, 16U, 2U, 8U), TensorShape(2U, 4U), TensorShape(16U, 64U, 2U, 1U));
}
};
} // namespace datasets