Hey,
I’m trying to do something like
c = torch.div(a, b) # <=> c = a.div(b)
with:

type(a) = torch.autograd.variable.Variable
type(b) = torch.FloatTensor

Using Pytorch 0.2.0+38b42e0 this raises an AssertionError (assert not torch.is_tensor(other)) in torch/autograd/variable.py, line 353.
I do understand what does it mean, and in fact, here, other (I called b) is a tensor. But I don’t see why this is forbidden.
I guess I should wrap into a Variable object but tbh it does not really makes sense to me (or maybe should it be wrapped automatically instead of raising error?)