We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c0ca22 commit f7e01d1Copy full SHA for f7e01d1
nx/lib/nx/defn/graph.ex
@@ -102,8 +102,8 @@ defmodule Nx.Defn.Graph do
102
103
@doc false
104
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
+ # state.expression_chain is a reverse accumulation of the stages and
+ # snapshots of the state at each one so that we can properly remap parameters for each stage.
107
state = %{
108
expression_chain: [],
109
nodes_to_replace: %{},
0 commit comments