Skip to content

Commit

Permalink
Fix spelling (#1514)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshprice authored Jul 20, 2024
1 parent 6fff76f commit 2f44f4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nx/lib/nx/defn.ex
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ defmodule Nx.Defn do
deftransformp custom_elixir_code(value), do: IO.inspect(value)
The only difference between using `deftransform` and `deftransformp`
is wether you want to expose and share the code with other modules,
is whether you want to expose and share the code with other modules,
just like `def` and `defp`.
Transforms are useful to manipulate tensor expressions or
Expand Down
2 changes: 1 addition & 1 deletion nx/lib/nx/random.ex
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ defmodule Nx.Random do
* `:axis` - the axis along which to shuffle. Defaults to `0`
* `:independent` - a boolean that indicates wether the permutations
* `:independent` - a boolean that indicates whether the permutations
are independent along the given axis. Defaults to `false`
## Examples
Expand Down

0 comments on commit 2f44f4a

Please sign in to comment.