Skip to content

Fix typos #2064

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions beginner_source/introyt/autogradyt_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

###########################################################################
# A machine learning model is a *function*, with inputs and outputs. For
# this discussion, we’ll treat the inputs a as an *i*-dimensional vector
# this discussion, we’ll treat the inputs as an *i*-dimensional vector
# :math:`\vec{x}`, with elements :math:`x_{i}`. We can then express the
# model, *M*, as a vector-valued function of the input: :math:`\vec{y} =
# \vec{M}(\vec{x})`. (We treat the value of M’s output as
Expand Down Expand Up @@ -226,7 +226,7 @@
# of which should be :math:`2 * cos(a)`. Looking at the graph above,
# that’s just what we see.
#
# Be aware than only *leaf nodes* of the computation have their gradients
# Be aware that only *leaf nodes* of the computation have their gradients
# computed. If you tried, for example, ``print(c.grad)`` you’d get back
# ``None``. In this simple example, only the input is a leaf node, so only
# it has gradients computed.
Expand Down