aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets/SmallGEMMDataset.h
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2023-01-09 15:34:20 +0000
committerSiCong Li <sicong.li@arm.com>2023-01-18 16:44:11 +0000
commit1b6377b603c5833e52d704dc17db14f446ebc670 (patch)
treecd4b03c6cc8aefe27b6b5f5fe87c559b26367d2d /tests/datasets/SmallGEMMDataset.h
parenta68df8dd8befdb53ec03412cf88113c13aa47c09 (diff)
downloadComputeLibrary-1b6377b603c5833e52d704dc17db14f446ebc670.tar.gz
Add broadcast batched matmul validation cases
Related to: COMPMID-5660 Signed-off-by: SiCong Li <sicong.li@arm.com> Change-Id: I2314c8b21acc638402c77080d59db2f3fed58fe2 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8911 Reviewed-by: Jakub Sujak <jakub.sujak@arm.com> Reviewed-by: Mohmun02 <MohammedSuhail.Munshi@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/datasets/SmallGEMMDataset.h')
-rw-r--r--tests/datasets/SmallGEMMDataset.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/datasets/SmallGEMMDataset.h b/tests/datasets/SmallGEMMDataset.h
index fabddb2ca0..c12f57b266 100644
--- a/tests/datasets/SmallGEMMDataset.h
+++ b/tests/datasets/SmallGEMMDataset.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2022 Arm Limited.
+ * Copyright (c) 2017-2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -91,6 +91,9 @@ public:
add_config(TensorShape(15U, 7U, 36U), TensorShape(29U, 15U, 36U), TensorShape(29U), TensorShape(29U, 7U, 36U), 1.0f, 0.0f);
add_config(TensorShape(56U, 17U, 32U), TensorShape(5U, 56U, 32U), TensorShape(5U), TensorShape(5U, 17U, 32U), 1.0f, 0.0f);
add_config(TensorShape(13U, 256U, 32U), TensorShape(19U, 13U, 32U), TensorShape(19U), TensorShape(19U, 256U, 32U), 1.0f, 0.0f);
+ // Broadcast in RHS's batch dimension
+ add_config(TensorShape(15U, 7U, 36U), TensorShape(29U, 15U), TensorShape(29U), TensorShape(29U, 7U, 36U), 1.0f, 0.0f);
+ add_config(TensorShape(15U, 7U, 36U, 2U), TensorShape(29U, 15U), TensorShape(29U), TensorShape(29U, 7U, 36U, 2U), 1.0f, 0.0f);
}
};