From 5131de90ce56f010d81ca98032d07f2e91644369 Mon Sep 17 00:00:00 2001 From: srush Date: Sun, 30 Aug 2020 15:08:42 -0400 Subject: [PATCH] fix typo --- minitorch/module.py | 2 +- minitorch/operators.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/minitorch/module.py b/minitorch/module.py index 54cfa135..36e2de17 100644 --- a/minitorch/module.py +++ b/minitorch/module.py @@ -114,7 +114,7 @@ class Parameter: """ A Parameter is a special container stored in a :class:`Module`. - It is designed to hold a :class:`Variable`, but we all it to hold + It is designed to hold a :class:`Variable`, but we allow it to hold any value for testing. """ diff --git a/minitorch/operators.py b/minitorch/operators.py index ff9dae48..c54f707d 100644 --- a/minitorch/operators.py +++ b/minitorch/operators.py @@ -29,7 +29,7 @@ def neg(x): def lt(x, y): - ":math:`f(x) =` 1.0 if x is greater than y else 0.0" + ":math:`f(x) =` 1.0 if x is less than y else 0.0" # TODO: Implement for Task 0.1. raise NotImplementedError('Need to implement for Task 0.1')