Skip to content

Commit

Permalink
Replace dtype static list with a reference to data type doc (pytorch#…
Browse files Browse the repository at this point in the history
…2937)

Co-authored-by: Svetlana Karslioglu <svekars@meta.com>
  • Loading branch information
2 people authored and ignaciobartol committed Jun 24, 2024
1 parent 983e237 commit 8234263
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions beginner_source/introyt/tensors_deeper_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,18 +228,7 @@
# integer with the ``.to()`` method. Note that ``c`` contains all the same
# values as ``b``, but truncated to integers.
#
# Available data types include:
#
# - ``torch.bool``
# - ``torch.int8``
# - ``torch.uint8``
# - ``torch.int16``
# - ``torch.int32``
# - ``torch.int64``
# - ``torch.half``
# - ``torch.float``
# - ``torch.double``
# - ``torch.bfloat``
# For more information, see the `data types documentation <https://pytorch.org/docs/stable/tensor_attributes.html#torch.dtype>`__.
#
# Math & Logic with PyTorch Tensors
# ---------------------------------
Expand Down

0 comments on commit 8234263

Please sign in to comment.