parameters: (root='~/.mxnet/models/')
docstring: r"""Purge all pretrained model files in local file store.
  
      Parameters
      ----------
      root : str, default '~/.mxnet/models'
          Location for keeping the model parameters.
docstring_summary: r"""Purge all pretrained model files in local file store.
docstring_tokens: r Purge all pretrained model files in local file store .
function: def purge(root='~/.mxnet/models/'):
      r"""Purge all pretrained model files in local file store.
  
      Parameters
      ----------
      root : str, default '~/.mxnet/models'
          Location for keeping the model parameters.
      """
      root = os.path.expanduser(root)
      files = os.listdir(root)
      for f in files:
          if f.endswith(".params"):
              os.remove(os.path.join(root, f))
function_tokens: def purge ( root = '~/.mxnet/models/' ) : root = os . path . expanduser ( root ) files = os . listdir ( root ) for f in files : if f . endswith ( ".params" ) : os . remove ( os . path . join ( root , f ) )