Skip to content

Commit 953f34d

Browse files
authored
docs: correct doc example (struct is called Node, not Nodes) (#603)
1 parent e5c8a37 commit 953f34d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/axon.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -3746,7 +3746,7 @@ defmodule Axon do
37463746
of a certain type of operation in the graph:
37473747
37483748
Axon.reduce_nodes(model, 0, fn
3749-
%Axon.Nodes{op: :relu}, acc -> acc + 1
3749+
%Axon.Node{op: :relu}, acc -> acc + 1
37503750
_, acc -> acc
37513751
end)
37523752

0 commit comments

Comments
 (0)