Variable logical operators bug?
Consider the following code: <SCODE>from torch.autograd import Variable
t = torch.Tensor([2])
bool(torch.max(t) < 2)
Out[4]: 
False
bool(torch.max(t) < 3)
Out[5]: 
True
<ECODE> However, If you do the same with a Variable: <SCODE>bool(torch.max(v) < 2)
Out[6]: 
True
bool(torch.max(v) < 3)
Out[7]: 
True
<ECODE>
Nadav_Bhonker
albanD
Well that makes sense. Thanks.
Nadav_Bhonker