Skip to content

Commit 49f679d

Browse files
narendasansoumith
authored andcommitted
Acknowledge the existence of cpu HalfTensor (pytorch#2018)
1 parent ebdec9a commit 49f679d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/tensors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Data type CPU tensor GPU tensor
1313
======================== =========================== ================================
1414
32-bit floating point :class:`torch.FloatTensor` :class:`torch.cuda.FloatTensor`
1515
64-bit floating point :class:`torch.DoubleTensor` :class:`torch.cuda.DoubleTensor`
16-
16-bit floating point N/A :class:`torch.cuda.HalfTensor`
16+
16-bit floating point :class:`torch.HalfTensor` :class:`torch.cuda.HalfTensor`
1717
8-bit integer (unsigned) :class:`torch.ByteTensor` :class:`torch.cuda.ByteTensor`
1818
8-bit integer (signed) :class:`torch.CharTensor` :class:`torch.cuda.CharTensor`
1919
16-bit integer (signed) :class:`torch.ShortTensor` :class:`torch.cuda.ShortTensor`

0 commit comments

Comments
 (0)