Remove debug print

This commit is contained in:
Aodhnait Étaín 2020-11-15 19:12:43 +00:00
parent 0ad8ac2fcd
commit f85b9670b2

View file

@ -78,7 +78,6 @@ class Tensor:
# TODO Compute gradients only for tensors that need it.
def _backprop(self, upstream):
print(upstream)
# Backprop through the tensor iff it has any parents.
if self._parents is not None:
for node, grad in zip(self._parents, self._back(upstream)):