diff options
| author | Simon Niklaus <sniklaus@users.noreply.github.com> | 2017-09-12 17:52:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-12 17:52:38 -0700 |
| commit | 5adb6e18876c9fc43a7de57b1e63d67449b5a332 (patch) | |
| tree | aadd0ef8eeddfa364f4043c55c0860890d5fe993 | |
| parent | 23d6ddc5a16f3997e4dfdb6414dba4e8da0bf237 (diff) | |
| parent | ca3bb7c4b382b447616953b199f7a36c98bdd940 (diff) | |
Merge pull request #1 from cclauss/patch-1
no message
| -rw-r--r-- | SeparableConvolution.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SeparableConvolution.py b/SeparableConvolution.py index 9e5d1e9..4d8563a 100644 --- a/SeparableConvolution.py +++ b/SeparableConvolution.py @@ -35,7 +35,7 @@ class SeparableConvolution(torch.autograd.Function): ) elif input1.is_cuda == False: - assert(False) # NOT IMPLEMENTED + raise NotImplementedError() # end @@ -43,6 +43,6 @@ class SeparableConvolution(torch.autograd.Function): # end def backward(self, gradOutput): - assert(false) # NOT IMPLEMENTED + raise NotImplementedError() # end -# end
\ No newline at end of file +# end |
