From 49f679d0e94ceb81ed171a37f0d4b400a65b7feb Mon Sep 17 00:00:00 2001 From: Naren Dasan Date: Sat, 8 Jul 2017 07:03:36 -0700 Subject: [PATCH] Acknowledge the existence of cpu HalfTensor (#2018) --- docs/source/tensors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tensors.rst b/docs/source/tensors.rst index 0a04bec89b2..73cf6cf38dc 100644 --- a/docs/source/tensors.rst +++ b/docs/source/tensors.rst @@ -13,7 +13,7 @@ Data type CPU tensor GPU tensor ======================== =========================== ================================ 32-bit floating point :class:`torch.FloatTensor` :class:`torch.cuda.FloatTensor` 64-bit floating point :class:`torch.DoubleTensor` :class:`torch.cuda.DoubleTensor` -16-bit floating point N/A :class:`torch.cuda.HalfTensor` +16-bit floating point :class:`torch.HalfTensor` :class:`torch.cuda.HalfTensor` 8-bit integer (unsigned) :class:`torch.ByteTensor` :class:`torch.cuda.ByteTensor` 8-bit integer (signed) :class:`torch.CharTensor` :class:`torch.cuda.CharTensor` 16-bit integer (signed) :class:`torch.ShortTensor` :class:`torch.cuda.ShortTensor`