What does .new() mean from Pytorch 0.4

I am porting some code from Pytorch 0.4 to 1.7, and in the docs (and similarly in the code I am porting) I come across:

input = torch.empty((2,3), dtype=torch.int64)
input.new(input.size())

I’m not sure what input.new does, considering input is an empty array of shape (2,3) and dtype torch.int64. Any insights appreciated.