From: Ailing Zhang Date: Thu, 18 Apr 2019 22:58:45 +0000 (-0700) Subject: fix hub doc formatting issues (#19434) X-Git-Tag: accepted/tizen/6.5/unified/20211028.231830~155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c93be0fa015f3733dbbe144dbfdc255c787f82f;p=platform%2Fupstream%2Fpytorch.git fix hub doc formatting issues (#19434) Summary: minor fixes for doc Pull Request resolved: https://github.com/pytorch/pytorch/pull/19434 Differential Revision: D15003903 Pulled By: ailzhang fbshipit-source-id: 400768d9a5ee24f9183faeec9762b688c48c531b --- diff --git a/docs/source/hub.rst b/docs/source/hub.rst index 67c098d..9ed678e 100644 --- a/docs/source/hub.rst +++ b/docs/source/hub.rst @@ -98,11 +98,10 @@ Where are my downloaded models saved? The locations are used in the order of -- hub_dir: user specified path. It can be set in the following ways: - - Calling ``hub.set_dir()`` - - ``$TORCH_HOME/hub``, if environment variable ``TORCH_HOME`` is set. - - ``$XDG_CACHE_HOME/torch/hub``, if environment variable ``XDG_CACHE_HOME` is set. - - ``~/.cache/torch/hub`` +- Calling ``hub.set_dir()`` +- ``$TORCH_HOME/hub``, if environment variable ``TORCH_HOME`` is set. +- ``$XDG_CACHE_HOME/torch/hub``, if environment variable ``XDG_CACHE_HOME`` is set. +- ``~/.cache/torch/hub`` .. autofunction:: set_dir