Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nx/lib/nx.ex
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ defmodule Nx do
config: [nx: [default_backend: EXLA.Backend]]
)

Or by calling `Nx.global_default_backend/1` (less preferrable):
Or by calling `Nx.global_default_backend/1` (less preferable):

Nx.global_default_backend(EXLA.Backend)

Expand Down Expand Up @@ -614,7 +614,7 @@ defmodule Nx do
>

Certain backends and compilers support 8-bit floats. The precision
iomplementation of 8-bit floats may change per backend, so you must
implementation of 8-bit floats may change per backend, so you must
be careful when transferring data across. The binary backend implements
F8E5M2:

Expand Down Expand Up @@ -7684,7 +7684,7 @@ defmodule Nx do
number of indices, while `updates` must have a compatible `{n, ...j}` shape, such that
`i + j = rank(tensor)`.

In case of repeating indices, the result is non-determinstic, since the operation happens
In case of repeating indices, the result is non-deterministic, since the operation happens
in parallel when running on devices such as the GPU.

See also: `indexed_add/3`, `put_slice/3`.
Expand Down
2 changes: 1 addition & 1 deletion nx/lib/nx/backend.ex
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ defmodule Nx.Backend do
First we will attempt to call the optional callback itself
(one of the many callbacks defined below), then we attempt
to call this callback (which is also optional), then we
fallback to the default iomplementation.
fallback to the default implementation.
"""
@callback optional(atom, [term], fun) :: tensor

Expand Down
2 changes: 1 addition & 1 deletion nx/lib/nx/defn.ex
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ defmodule Nx.Defn do
## JIT compilers

The power of `Nx.Defn` is given by its compilers. The default
compiler is `Nx.Defn.Evaluator`, which evalutes the code.
compiler is `Nx.Defn.Evaluator`, which evaluates the code.
You can use `jit/3` to compile a function on the fly using a
different compiler, such as `EXLA`:

Expand Down
Loading