expanded greedily; it is expanded in-place to fill "names" to
      the same length as "self.dim()" using names from the
      corresponding indices of "self.names".
  Python 2 does not support Ellipsis but one may use a string
  literal instead ("'...'").

  Parameters:
     **names** (*iterable of str*) -- The desired names of the
     output tensor. May contain up to one Ellipsis.

  Examples:

     >>> imgs = torch.randn(32, 3, 128, 128)
     >>> named_imgs = imgs.refine_names('N', 'C', 'H', 'W')
     >>> named_imgs.names
     ('N', 'C', 'H', 'W')

     >>> tensor = torch.randn(2, 3, 5, 7, 11)
     >>> tensor = tensor.refine_names('A', ..., 'B', 'C')
     >>> tensor.names
     ('A', None, None, 'B', 'C')

  Warning:

    The named tensor API is experimental and subject to change.

align_as(other) -> Tensor
  Permutes the dimensions of the "self" tensor to match the
