mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01: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)+()+() ##########
|
|
# sparse meta tensor
|
|
tensor(ccol_indices=tensor(..., size=(7,)),
|
|
row_indices=tensor(..., size=(0,)),
|
|
values=tensor(..., size=(0,)), device='meta', size=(4, 6),
|
|
dtype=torch.float64, layout=torch.sparse_csc)
|
|
########## torch.float64/torch.int64/size=()+(4, 6)+()+(3,) ##########
|
|
# sparse meta tensor
|
|
tensor(ccol_indices=tensor(..., size=(7,)),
|
|
row_indices=tensor(..., size=(0,)),
|
|
values=tensor(..., size=(0, 3)), device='meta', size=(4, 6, 3),
|
|
dtype=torch.float64, layout=torch.sparse_csc)
|
|
########## torch.float64/torch.int64/size=(2,)+(4, 6)+()+() ##########
|
|
# sparse meta tensor
|
|
tensor(ccol_indices=tensor(..., size=(2, 7)),
|
|
row_indices=tensor(..., size=(2, 0)),
|
|
values=tensor(..., size=(2, 0)), device='meta', size=(2, 4, 6),
|
|
dtype=torch.float64, layout=torch.sparse_csc)
|
|
########## torch.float64/torch.int64/size=(2,)+(4, 6)+()+(3,) ##########
|
|
# sparse meta tensor
|
|
tensor(ccol_indices=tensor(..., size=(2, 7)),
|
|
row_indices=tensor(..., size=(2, 0)),
|
|
values=tensor(..., size=(2, 0, 3)), device='meta', size=(2, 4, 6, 3),
|
|
dtype=torch.float64, layout=torch.sparse_csc) |