Skip to content

Commit 10f250c

Browse files
committed
Add more concatenate tests
1 parent 56b66ba commit 10f250c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/unit/sparse/test_diagonal_sparse_tensor.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ def test_unsquash_pdim(
261261
@mark.parametrize(
262262
["dst_args", "dim"],
263263
[
264+
([([3], [[0], [0]]), ([3], [[0], [0]])], 1),
265+
([([3, 2], [[0], [0, 1]]), ([3], [[0], [0]])], 1),
266+
([([3], [[0], [0]]), ([3, 2], [[0], [0, 1]])], 1),
267+
([([3, 2], [[0], [0, 1]]), ([3, 2], [[0], [0, 1]])], 1),
264268
([([3, 4], [[0], [0, 1]]), ([3, 3, 4], [[0, 1], [1, 2]])], 0),
265269
([([3, 12], [[0, 1], [0]]), ([9, 4], [[0, 1], [0]])], 1),
266270
],

0 commit comments

Comments
 (0)