returned Tensor. Default: "torch.strided".
  * **pin_memory** (*bool**, **optional*) -- If set, returned
    tensor would be allocated in the pinned memory. Works only for
    CPU tensors. Default: "False".

Example:
  >>> tensor = torch.tensor((), dtype=torch.int32)
  >>> tensor.new_ones((2, 3))
  tensor([[ 1,  1,  1],
          [ 1,  1,  1]], dtype=torch.int32)
