Purpose of `torch.neg`, `torch.square`, and `torch.sqrt`

What is the purpose of torch.neg, torch.square, and torch.sqrt?
Based on the doc, they are just regular operations. That is, the following lines are exactly the same.

  1. [torch.neg(x), torch.square(x), torch.sqrt(x)]
  2. [x.neg(), x.square(), x.sqrt()]
  3. [-x, x**2, x**-0.5]

Which one should I use?

You can use whichever function name better suits you and some methods have aliases as different users have different preferences.