Hi! I was wondering what’s the differences between two tensor operations, namely x.ones_like() and x.new_ones()? Looks like they are all intended for creating tensors filled with ones and inheriting from the properties of the calling tensor x?
Thank you!