mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
As in the title. Replaces https://github.com/pytorch/pytorch/pull/120498 and https://github.com/pytorch/pytorch/pull/120562 Pull Request resolved: https://github.com/pytorch/pytorch/pull/120707 Approved by: https://github.com/ezyang ghstack dependencies: #120703
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
########## torch.float64/torch.int64/size=()+(4, 6)+(2, 3)+() ##########
|
|
# sparse meta tensor
|
|
tensor(ccol_indices=tensor(..., size=(3,)),
|
|
row_indices=tensor(..., size=(0,)),
|
|
values=tensor(..., size=(0, 2, 3)), device='meta', size=(4, 6),
|
|
dtype=torch.float64, layout=torch.sparse_bsc)
|
|
########## torch.float64/torch.int64/size=()+(4, 6)+(2, 3)+(3,) ##########
|
|
# sparse meta tensor
|
|
tensor(ccol_indices=tensor(..., size=(3,)),
|
|
row_indices=tensor(..., size=(0,)),
|
|
values=tensor(..., size=(0, 2, 3, 3)), device='meta', size=(4, 6, 3),
|
|
dtype=torch.float64, layout=torch.sparse_bsc)
|
|
########## torch.float64/torch.int64/size=(2,)+(4, 6)+(2, 3)+() ##########
|
|
# sparse meta tensor
|
|
tensor(ccol_indices=tensor(..., size=(2, 3)),
|
|
row_indices=tensor(..., size=(2, 0)),
|
|
values=tensor(..., size=(2, 0, 2, 3)), device='meta', size=(2, 4, 6),
|
|
dtype=torch.float64, layout=torch.sparse_bsc)
|
|
########## torch.float64/torch.int64/size=(2,)+(4, 6)+(2, 3)+(3,) ##########
|
|
# sparse meta tensor
|
|
tensor(ccol_indices=tensor(..., size=(2, 3)),
|
|
row_indices=tensor(..., size=(2, 0)),
|
|
values=tensor(..., size=(2, 0, 2, 3, 3)), device='meta',
|
|
size=(2, 4, 6, 3), dtype=torch.float64, layout=torch.sparse_bsc) |