Skip to content

Commit 87d9510

Browse files
committed
Fix spelling
1 parent 73526ed commit 87d9510

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

nx/lib/nx.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ defmodule Nx do
417417
config: [nx: [default_backend: EXLA.Backend]]
418418
)
419419
420-
Or by calling `Nx.global_default_backend/1` (less preferrable):
420+
Or by calling `Nx.global_default_backend/1` (less preferable):
421421
422422
Nx.global_default_backend(EXLA.Backend)
423423
@@ -614,7 +614,7 @@ defmodule Nx do
614614
>
615615
616616
Certain backends and compilers support 8-bit floats. The precision
617-
iomplementation of 8-bit floats may change per backend, so you must
617+
implementation of 8-bit floats may change per backend, so you must
618618
be careful when transferring data across. The binary backend implements
619619
F8E5M2:
620620
@@ -7684,7 +7684,7 @@ defmodule Nx do
76847684
number of indices, while `updates` must have a compatible `{n, ...j}` shape, such that
76857685
`i + j = rank(tensor)`.
76867686
7687-
In case of repeating indices, the result is non-determinstic, since the operation happens
7687+
In case of repeating indices, the result is non-deterministic, since the operation happens
76887688
in parallel when running on devices such as the GPU.
76897689
76907690
See also: `indexed_add/3`, `put_slice/3`.

nx/lib/nx/backend.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ defmodule Nx.Backend do
138138
First we will attempt to call the optional callback itself
139139
(one of the many callbacks defined below), then we attempt
140140
to call this callback (which is also optional), then we
141-
fallback to the default iomplementation.
141+
fallback to the default implementation.
142142
"""
143143
@callback optional(atom, [term], fun) :: tensor
144144

nx/lib/nx/defn.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ defmodule Nx.Defn do
6666
## JIT compilers
6767
6868
The power of `Nx.Defn` is given by its compilers. The default
69-
compiler is `Nx.Defn.Evaluator`, which evalutes the code.
69+
compiler is `Nx.Defn.Evaluator`, which evaluates the code.
7070
You can use `jit/3` to compile a function on the fly using a
7171
different compiler, such as `EXLA`:
7272

0 commit comments

Comments
 (0)