mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Typo.
Update Common_Gotchas_in_JAX.md
This commit is contained in:
parent
44b1791b7a
commit
f30a36dbbc
@ -64,7 +64,7 @@
|
||||
"source": [
|
||||
"JAX transformation and compilation are designed to work only on Python functions that are functionally pure: all the input data is passed through the function parameters, all the results are output through the function results. A pure function will always return the same result if invoked with the same inputs. \n",
|
||||
"\n",
|
||||
"Here are some examples of functions that are not functially pure for which JAX behaves differently than the Python interpreter. Note that these behaviors are not guaranteed by the JAX system; the proper way to use JAX is to use it only on functionally pure Python functions."
|
||||
"Here are some examples of functions that are not functionally pure for which JAX behaves differently than the Python interpreter. Note that these behaviors are not guaranteed by the JAX system; the proper way to use JAX is to use it only on functionally pure Python functions."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ rcParams['axes.grid'] = False
|
||||
|
||||
JAX transformation and compilation are designed to work only on Python functions that are functionally pure: all the input data is passed through the function parameters, all the results are output through the function results. A pure function will always return the same result if invoked with the same inputs.
|
||||
|
||||
Here are some examples of functions that are not functially pure for which JAX behaves differently than the Python interpreter. Note that these behaviors are not guaranteed by the JAX system; the proper way to use JAX is to use it only on functionally pure Python functions.
|
||||
Here are some examples of functions that are not functionally pure for which JAX behaves differently than the Python interpreter. Note that these behaviors are not guaranteed by the JAX system; the proper way to use JAX is to use it only on functionally pure Python functions.
|
||||
|
||||
```{code-cell} ipython3
|
||||
:id: A6R-pdcm4u3v
|
||||
|
Loading…
x
Reference in New Issue
Block a user