I have the same problem - and while it seems inded self-explanatory, it contradicts the documentation in: http://pytorch.org/docs/torch.html 12
Which says:
torch.add(input, value, out=None)
Adds the scalar value to each element of the input input and returns a new resulting tensor.
So - I will be using torch.mul, but the question is in place, and someone has to either implement the correct function or fix the documentation