Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Fix doc of download to refer to chainer.dataset.download properly #478

Merged
merged 1 commit into from
Oct 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions chainercv/utils/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ def _reporthook(count, block_size, total_size):
def cached_download(url):
"""Downloads a file and caches it.

This is different from the original ``cached_download`` in that the
download progress is reported.
This is different from the original
:func:`~chainer.dataset.cached_download` in that the download
progress is reported.

It downloads a file from the URL if there is no corresponding cache. After
the download, this function stores a cache to the directory under the
Expand Down