COMPMID-710 - Fix CLTranspose and NETranspose when the input shape is a
vector
Fixed replacing AccessWindowTranspose with AccessWindowStatic due to the
wrong padding calculation in the X direction within AccessWindowTranspose.
AccessWindowTranspose should be fixed with COMPMID-708
Change-Id: I665e130b897a213ae2bf9da4bf092dd491fa00c6
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111057
Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Reviewed-by: Michel Iwaniec <michel.iwaniec@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h
index 3dc4566..173ee74 100644
--- a/tests/datasets/ShapeDatasets.h
+++ b/tests/datasets/ShapeDatasets.h
@@ -35,19 +35,22 @@
{
namespace datasets
{
-/** Data set containing 1D tensor shapes. */
-class Small1DShape final : public framework::dataset::SingletonDataset<TensorShape>
+/** Parent type for all for shape datasets. */
+using ShapeDataset = framework::dataset::ContainerDataset<std::vector<TensorShape>>;
+
+/** Data set containing small 1D tensor shapes. */
+class Small1DShapes final : public ShapeDataset
{
public:
- Small1DShape()
- : SingletonDataset("Shape", TensorShape{ 256U })
+ Small1DShapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 256U }
+ })
{
}
};
-/** Parent type for all for shape datasets. */
-using ShapeDataset = framework::dataset::ContainerDataset<std::vector<TensorShape>>;
-
/** Data set containing small 2D tensor shapes. */
class Small2DShapes final : public ShapeDataset
{
@@ -169,6 +172,21 @@
}
};
+/** Data set containing large 1D tensor shapes. */
+class Large1DShapes final : public ShapeDataset
+{
+public:
+ Large1DShapes()
+ : ShapeDataset("Shape",
+ {
+ TensorShape{ 1921U },
+ TensorShape{ 1245U },
+ TensorShape{ 4160U }
+ })
+ {
+ }
+};
+
/** Data set containing large 2D tensor shapes. */
class Large2DShapes final : public ShapeDataset
{