Skip to content

Commit 739d70d

Browse files
committed
Replace dtype static list with a reference to data type doc
1 parent 63f987d commit 739d70d

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Diff for: beginner_source/introyt/tensors_deeper_tutorial.py

+1-12
Original file line numberDiff line numberDiff line change
@@ -228,18 +228,7 @@
228228
# integer with the ``.to()`` method. Note that ``c`` contains all the same
229229
# values as ``b``, but truncated to integers.
230230
#
231-
# Available data types include:
232-
#
233-
# - ``torch.bool``
234-
# - ``torch.int8``
235-
# - ``torch.uint8``
236-
# - ``torch.int16``
237-
# - ``torch.int32``
238-
# - ``torch.int64``
239-
# - ``torch.half``
240-
# - ``torch.float``
241-
# - ``torch.double``
242-
# - ``torch.bfloat``
231+
# For more information, see the `data types documentation <https://pytorch.org/docs/stable/tensor_attributes.html#torch.dtype>`__.
243232
#
244233
# Math & Logic with PyTorch Tensors
245234
# ---------------------------------

0 commit comments

Comments
 (0)