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

Revert "patch v2 matrix multiplication"

This reverts commit 28bae814.
parent 28bae814
Branches
No related tags found
No related merge requests found
......@@ -143,8 +143,8 @@ class MatMul(_Function):
# TODO: Implement the derivative dx for this opetation and add the
# result of the chain rule on self.dx.
#######################################################################
self.dx = grad * np.add(self.x.data, self.y.data.transpose())
self.dy = grad * np.add(self.x.data.transpose(), self.y.data)
self.dx = np.add(self.x.data, self.y.data.transpose())
self.dy = np.add(self.x.data.transpose(), self.y.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