From 4bb1bf05734876fcf0f50a0c23c41866afbdb110 Mon Sep 17 00:00:00 2001 From: Yuanhao Ji Date: Mon, 18 Nov 2024 21:22:30 +0000 Subject: [PATCH] [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 --- docs/source/tensor_attributes.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/tensor_attributes.rst b/docs/source/tensor_attributes.rst index 78274d6572a..46388033db5 100644 --- a/docs/source/tensor_attributes.rst +++ b/docs/source/tensor_attributes.rst @@ -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)