Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
polvalente committed Sep 24, 2024
1 parent add0134 commit 8d94bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx/lib/nx/defn/grad.ex
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ defmodule Nx.Defn.Grad do
%{vectorized_axes: vectorized_axes, names: names},
parent_names
) do
Keyword.keys(vectorized_axes) ++ Enum.filter(names, & &1 in parent_names)
Keyword.keys(vectorized_axes) ++ Enum.filter(names, &(&1 in parent_names))
end

defp revectorize_node(node, vectorized_names) do
Expand Down

0 comments on commit 8d94bc0

Please sign in to comment.