Commit af673237 authored by rusty1s's avatar rusty1s
Browse files

cleaner

parent fdba2556
...@@ -36,7 +36,6 @@ class _Scatter(Function): ...@@ -36,7 +36,6 @@ class _Scatter(Function):
if len(grad) == 3: if len(grad) == 3:
return grad_output, None, grad_input return grad_output, None, grad_input
else:
return grad_output, None, grad_input, None return grad_output, None, grad_input, None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment