Skip to content

Commit f7e01d1

Browse files
committed
docs: fix outdated comment
1 parent 1c0ca22 commit f7e01d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nx/lib/nx/defn/graph.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ defmodule Nx.Defn.Graph do
102102

103103
@doc false
104104
def __split__(expr, expr_split_fn) do
105-
# expression_chain is going to be a reverse-accumulation of {category, subexpr}
106-
# that we can then compile and chain-execute elsewhere. category is either :gather, :reduce or :none
105+
# state.expression_chain is a reverse accumulation of the stages and
106+
# snapshots of the state at each one so that we can properly remap parameters for each stage.
107107
state = %{
108108
expression_chain: [],
109109
nodes_to_replace: %{},

0 commit comments

Comments
 (0)