Operation between Tensor and Variable
Suppose I do this: <SCODE>x = Variable(torch.rand(3,5))
y = torch.Tensor(torch.rand(3,5))
print(x + y)
<ECODE>
Zafarullah_Mahmood
JerryLin
Zafarullah_Mahmood
<SCODE>In [2]: y =  torch.autograd.Variable(torch.Tensor(4))
In [3]: y.requires_grad
Out[3]: False<ECODE>
vabh
I also have question about this. Why is it designed like this?
maggie