Skip to content
Snippets Groups Projects
Commit 36eb675f authored by Maxxhim's avatar Maxxhim
Browse files

patch v7 relu

parent 6cb97d04
No related branches found
No related tags found
No related merge requests found
......@@ -375,7 +375,7 @@ class ReLu(_Function):
# Implement the forward pass and put the result in self.result.
# The notbook provide you the formulas for this operation.
#######################################################################
self.result = np.max(0, self.x.data)
self.result = np.maximum(0, self.x.data)
#######################################################################
# --------------------------- END OF YOUR CODE ------------------------
#######################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment