[Docs] Remove duplicate declaration of double_tensor (#140927)

Fixes #140920

Pull Request resolved: https://github.com/pytorch/pytorch/pull/140927
Approved by: https://github.com/malfet
This commit is contained in:
Yuanhao Ji 2024-11-18 21:22:30 +00:00 committed by PyTorch MergeBot
parent e46af7de0c
commit 4bb1bf0573

View file

@ -75,7 +75,6 @@ Promotion Examples::
>>> int_tensor = torch.ones(1, dtype=torch.int)
>>> long_tensor = torch.ones(1, dtype=torch.long)
>>> uint_tensor = torch.ones(1, dtype=torch.uint8)
>>> double_tensor = torch.ones(1, dtype=torch.double)
>>> bool_tensor = torch.ones(1, dtype=torch.bool)
# zero-dim tensors
>>> long_zerodim = torch.tensor(1, dtype=torch.long)