From 2c07f88ea396f2ce2a5e03b1ac5234af6826045e Mon Sep 17 00:00:00 2001 From: Zhou Mo Date: Sun, 30 Jul 2017 12:38:00 +0000 Subject: Fix typos. --- torch/_thnn/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'torch/_thnn') 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 -- cgit v1.2.3