code: def purge(root=os.path.join(base.data_dir(), 'models')):
      r
      root = os.path.expanduser(root)
      files = os.listdir(root)
      for f in files:
          if f.endswith(".params"):
              os.remove(os.path.join(root, f))
docs: r"""Purge all pretrained model files in local file store.
  
      Parameters
      ----------
      root : str, default '$MXNET_HOME/models'
          Location for keeping the model parameters.