mirror of
https://github.com/ROCm/jax.git
synced 2025-04-14 10:56:06 +00:00
documentation: fix function name
This commit is contained in:
parent
aa8c0010e2
commit
72b6704d88
@ -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",
|
||||
|
@ -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!
|
||||
|
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user