parameters: (url, md5sum=None)
return_statement: return path
docstring: Get weights path from WEIGHT_HOME, if not exists,
      download it from url.
  
      Args:
          url (str): download url
          md5sum (str): md5 sum of download package
  
      Returns:
          str: a local path to save downloaded weights.
  
      Examples:
          .. code-block:: python
  
              from paddle.utils.download import get_weights_path_from_url
  
              resnet18_pretrained_weight_url = 'https://paddle-hapi.bj.bcebos.com/models/resnet18.pdparams'
              local_weight_path = get_weights_path_from_url(resnet18_pretrained_weight_url)
docstring_summary: Get weights path from WEIGHT_HOME, if not exists,
      download it from url.
docstring_tokens: Get weights path from WEIGHT_HOME if not exists download it from url .
function: def get_weights_path_from_url(url, md5sum=None):
      """Get weights path from WEIGHT_HOME, if not exists,
      download it from url.
  
      Args:
          url (str): download url
          md5sum (str): md5 sum of download package
  
      Returns:
          str: a local path to save downloaded weights.
  
      Examples:
          .. code-block:: python
  
              from paddle.utils.download import get_weights_path_from_url
  
              resnet18_pretrained_weight_url = 'https://paddle-hapi.bj.bcebos.com/models/resnet18.pdparams'
              local_weight_path = get_weights_path_from_url(resnet18_pretrained_weight_url)
  
      """
      path = get_path_from_url(url, WEIGHTS_HOME, md5sum)
      return path
function_tokens: def get_weights_path_from_url ( url , md5sum = None ) : path = get_path_from_url ( url , WEIGHTS_HOME , md5sum ) return path