summaryrefslogtreecommitdiff
path: root/SeparableConvolution.py
diff options
context:
space:
mode:
Diffstat (limited to 'SeparableConvolution.py')
-rw-r--r--SeparableConvolution.py6
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