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
23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
########## torch.float64/torch.int64/size=()+(4, 6)+()+() ##########
|
|
# sparse meta tensor
|
|
tensor(indices=tensor(..., size=(2, 0)),
|
|
values=tensor(..., size=(0,)),
|
|
device='meta', size=(4, 6), dtype=torch.float64, layout=torch.sparse_coo)
|
|
########## torch.float64/torch.int64/size=()+(4, 6)+()+(3,) ##########
|
|
# sparse meta tensor
|
|
tensor(indices=tensor(..., size=(2, 0)),
|
|
values=tensor(..., size=(0, 3)),
|
|
device='meta', size=(4, 6, 3), dtype=torch.float64,
|
|
layout=torch.sparse_coo)
|
|
########## torch.float64/torch.int64/size=()+(3, 5, 7)+()+() ##########
|
|
# sparse meta tensor
|
|
tensor(indices=tensor(..., size=(3, 0)),
|
|
values=tensor(..., size=(0,)),
|
|
device='meta', size=(3, 5, 7), dtype=torch.float64,
|
|
layout=torch.sparse_coo)
|
|
########## torch.float64/torch.int64/size=()+(3, 5, 7)+()+(3,) ##########
|
|
# sparse meta tensor
|
|
tensor(indices=tensor(..., size=(3, 0)),
|
|
values=tensor(..., size=(0, 3)),
|
|
device='meta', size=(3, 5, 7, 3), dtype=torch.float64,
|
|
layout=torch.sparse_coo) |