diff --git a/docs/autodidax.ipynb b/docs/autodidax.ipynb index e620967de..7ec91affa 100644 --- a/docs/autodidax.ipynb +++ b/docs/autodidax.ipynb @@ -146,7 +146,7 @@ "around calls to `bind`. These wrappers let us control how arguments are passed\n", "to `bind`, and in particular we follow a handy internal convention: when we\n", "call `bind`, we pass values representing array data as positional arguments,\n", - "and we pass metadata like the `axis` argument to `sum_p` via keyword. This\n", + "and we pass metadata like the `axis` argument to `reduce_sum_p` via keyword. This\n", "calling convention simplifies some core logic (since e.g. instances of the\n", "`Tracer` class to be defined below can only occur in positional arguments to\n", "`bind`). The wrappers can also provide docstrings!\n", diff --git a/docs/autodidax.md b/docs/autodidax.md index 1c16db80f..2d4d6cd52 100644 --- a/docs/autodidax.md +++ b/docs/autodidax.md @@ -133,7 +133,7 @@ The functions that user code calls, like `add` and `sin`, are just wrappers around calls to `bind`. These wrappers let us control how arguments are passed to `bind`, and in particular we follow a handy internal convention: when we call `bind`, we pass values representing array data as positional arguments, -and we pass metadata like the `axis` argument to `sum_p` via keyword. This +and we pass metadata like the `axis` argument to `reduce_sum_p` via keyword. This calling convention simplifies some core logic (since e.g. instances of the `Tracer` class to be defined below can only occur in positional arguments to `bind`). The wrappers can also provide docstrings! diff --git a/docs/autodidax.py b/docs/autodidax.py index f74617f31..f8c6372fe 100644 --- a/docs/autodidax.py +++ b/docs/autodidax.py @@ -123,7 +123,7 @@ def bind1(prim, *args, **params): # around calls to `bind`. These wrappers let us control how arguments are passed # to `bind`, and in particular we follow a handy internal convention: when we # call `bind`, we pass values representing array data as positional arguments, -# and we pass metadata like the `axis` argument to `sum_p` via keyword. This +# and we pass metadata like the `axis` argument to `reduce_sum_p` via keyword. This # calling convention simplifies some core logic (since e.g. instances of the # `Tracer` class to be defined below can only occur in positional arguments to # `bind`). The wrappers can also provide docstrings!