code: def expand_single_ellipsis(numel_pre_glob, numel_post_glob, names):
      return names[numel_pre_glob : len(names) - numel_post_glob]
  
file_path: pytorch/torch/_namedtensor_internals.py
imports: from collections import OrderedDict
label_desc: Use image node_id 7 for calling a global function with example usage: expand_single_ellipsis(numel_pre_glob, numel_post_glob, names) and returns: names