summaryrefslogtreecommitdiff
path: root/torch/_thnn
diff options
context:
space:
mode:
authorZhou Mo <cdluminate@gmail.com>2017-07-30 12:38:00 +0000
committerSoumith Chintala <soumith@gmail.com>2017-08-25 14:27:07 -0400
commit2c07f88ea396f2ce2a5e03b1ac5234af6826045e (patch)
treead9c95e9e7637eecfbe9fafa89f21adf15b39b5b /torch/_thnn
parent61e4723132ba30d3841c648b5d1ba0c6d6632bbe (diff)
downloadpytorch-2c07f88ea396f2ce2a5e03b1ac5234af6826045e.tar.gz
pytorch-2c07f88ea396f2ce2a5e03b1ac5234af6826045e.tar.bz2
pytorch-2c07f88ea396f2ce2a5e03b1ac5234af6826045e.zip
Fix typos.
Diffstat (limited to 'torch/_thnn')
-rw-r--r--torch/_thnn/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/torch/_thnn/__init__.py b/torch/_thnn/__init__.py
index f84c6fbf25..a2ffa80742 100644
--- a/torch/_thnn/__init__.py
+++ b/torch/_thnn/__init__.py
@@ -26,7 +26,7 @@ class Backend(object):
self.loading_lock = threading.Lock()
def load(self):
- # This looks a little weird, but it's neccesary for thread safe loading.
+ # This looks a little weird, but it's necessary for thread safe loading.
# Loading the backend can take some time, so multiple threads can enter
# the if clause. We have to ensure that only the first one to acquire
# the lock will actually load the backend, and that the rest won't