diff --git a/minitorch/operators.py b/minitorch/operators.py index 5ff8019..895408d 100644 --- a/minitorch/operators.py +++ b/minitorch/operators.py @@ -103,7 +103,7 @@ def exp(x: float) -> float: def log_back(x: float, d: float) -> float: r"If $f = log$ as above, compute $d \times f'(x)$" # TODO: Implement for Task 0.1. - raise NotImplementedError("Need to implement for Task 0.1") + return d / x def inv(x: float) -> float: