Change fake tqdm constructor to match real tqdm (#17636)
authorBryan He <bryanhe@stanford.edu>
Sun, 3 Mar 2019 09:01:26 +0000 (01:01 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 3 Mar 2019 09:06:10 +0000 (01:06 -0800)
commit01977c0a896d4922762f6f56db0f370dad2edf4a
tree1edbdf22403bf1bbf372e25d800413d62f1bb940
parentef7ddcd29e8eb4b0a182f948f88eb9a5cbd2a9fb
Change fake tqdm constructor to match real tqdm (#17636)

Summary:
Currently, the fake tqdm implementation requires an input (whereas real tqdm does not).

This caused a problem in torchvision (https://github.com/pytorch/vision/pull/770), and seems likely to cause minor irritations elsewhere.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17636

Differential Revision: D14296530

Pulled By: ezyang

fbshipit-source-id: bc077d898773c93dab34c985a7b30525a43e558a
torch/utils/model_zoo.py