Skip to content

Commit

Permalink
[feat] implement 'relu_backward' function #1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjae96 committed Feb 6, 2023
1 parent 1ac5af7 commit 7b4734a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cs231n_2022/assignment1/cs231n/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def relu_backward(dout, cache):
###########################################################################
# *****START OF YOUR CODE (DO NOT DELETE/MODIFY THIS LINE)*****

pass
dx = dout * (x > 0)

# *****END OF YOUR CODE (DO NOT DELETE/MODIFY THIS LINE)*****
###########################################################################
Expand Down

0 comments on commit 7b4734a

Please sign in to comment.