Hi,
Do you actually track gradients across these operations? If so that the two will have different behaviors yes.
For speed, the two will be very close. The one that creates a new Tensor will obviously use a bit more memory but that’s it.