Test case (the order is important):
print(type(numpy.exp(1) + Variable(torch.zeros(2, 5))))
# <class 'numpy.ndarray'> (of really strange shape)
I understand why this is happening but I'd prefer an error to be thrown here if possible when the "expected" behaviour cannot be achieved.