Hi,
CPU half tensors do not actually exist.
Using cuda HalfTensors work as expected:
import torch
t = torch.cuda.HalfTensor([0])
t = torch.autograd.Variable(t)
Hi,
CPU half tensors do not actually exist.
Using cuda HalfTensors work as expected:
import torch
t = torch.cuda.HalfTensor([0])
t = torch.autograd.Variable(t)