('batch', 'channels', 'H', 'W')
     >>> renamed_imgs = imgs.rename(None)
     >>> renamed_imgs.names
     (None, None, None, None)

     >>> renamed_imgs = imgs.rename('batch', 'channel', 'height', 'width')
     >>> renamed_imgs.names
     ('batch', 'channel', 'height', 'width')

  Warning:

    The named tensor API is experimental and subject to change.

rename_(names, *rename_map)
  In-place version of "rename()".

refine_names(*names)
  Refines the dimension names of "self" according to "names".

  Refining is a special case of renaming that "lifts" unnamed
  dimensions. A "None" dim can be refined to have any name; a
  named dim can only be refined to have the same name.

  Because named tensors can coexist with unnamed tensors, refining
  names gives a nice way to write named-tensor-aware code that
  works with both named and unnamed tensors.

  "names" may contain up to one Ellipsis ("..."). The Ellipsis is
