code: def add_img_extensions(ext):
      if not isinstance(ext, (list, tuple, set)):
          ext = (ext,)
      for x in ext:
          assert _valid_extension(x)
      extensions = IMG_EXTENSIONS + tuple(ext)
      _set_extensions(extensions)
  
file_path: pytorch-image-models/timm/data/readers/img_extensions.py
imports: from copy import deepcopy
label_desc: Use image node_id 6 for calling a global function with example usage: add_img_extensions(ext) without return types