Commit 2ba6da8a authored by rusty1s's avatar rusty1s
Browse files

typo

parent bdb05cec
...@@ -89,7 +89,7 @@ class _Scatter(Function): ...@@ -89,7 +89,7 @@ class _Scatter(Function):
data = (index.data, data[0], arg.data) data = (index.data, data[0], arg.data)
grad_input = index_backward(self.dim, *data) grad_input = index_backward(self.dim, *data)
# Return and fill with empty grads for none-differentiable passed # Return and fill with empty grads for non-differentiable passed
# arguments in forward pass. # arguments in forward pass.
return (grad_output, None, grad_input) + (None, ) * (self.len - 3) return (grad_output, None, grad_input) + (None, ) * (self.len - 3)
......
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