diff options
Diffstat (limited to 'tests/datasets/ShapeDatasets.h')
-rw-r--r-- | tests/datasets/ShapeDatasets.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h index dbcd9d5000..9114f514aa 100644 --- a/tests/datasets/ShapeDatasets.h +++ b/tests/datasets/ShapeDatasets.h @@ -387,6 +387,28 @@ public: } }; +/** Data set containing small tensor shapes for direct convolution. */ +class SmallDirectConvolutionTensorShiftShapes final : public ShapeDataset +{ +public: + SmallDirectConvolutionTensorShiftShapes() + : ShapeDataset("InputShape", + { + // Batch size 1 + TensorShape{ 35U, 35U, 3U }, + TensorShape{ 32U, 37U, 3U }, + // Batch size 4 + TensorShape{ 32U, 37U, 3U, 4U }, + // Batch size 8 + TensorShape{ 32U, 37U, 3U, 8U }, + TensorShape{ 33U, 35U, 3U, 8U }, + // Arbitrary batch size + TensorShape{ 32U, 37U, 3U, 8U } + }) + { + } +}; + /** Data set containing 2D tensor shapes for DepthConcatenateLayer. */ class DepthConcatenateLayerShapes final : public ShapeDataset { |