Minor typo
authorDaniel <officialdanielhunter@gmail.com>
Tue, 12 Feb 2019 15:52:55 +0000 (07:52 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 12 Feb 2019 16:02:04 +0000 (08:02 -0800)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/16980

Differential Revision: D14033686

Pulled By: gchanan

fbshipit-source-id: 9f7967defc6795640e14157d0b701b185061741f

torch/utils/data/dataloader.py

index 9d79990..97b9427 100644 (file)
@@ -328,7 +328,7 @@ class _DataLoaderIter(object):
     #
     # Now let's get back to 1:
     #   how we gracefully exit the workers when the last reference to the
-    #   iteartor is gone.
+    #   iterator is gone.
     #
     # To achieve this, we implement the following logic along with the design
     # choices mentioned above: