documentation: fix function name

This commit is contained in:
Pratyush Das 2025-02-03 18:57:55 -05:00
parent aa8c0010e2
commit 72b6704d88
3 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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!

View File

@ -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!