From bef6ff5b5c4b54f29d7f3e18ee8ad4e16af7e053 Mon Sep 17 00:00:00 2001 From: Ben Swift Date: Thu, 5 Dec 2024 15:37:50 +1100 Subject: [PATCH] docs: correct doc example (struct is called Node, not Nodes) --- lib/axon.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/axon.ex b/lib/axon.ex index 52f4ba6d..867b2aab 100644 --- a/lib/axon.ex +++ b/lib/axon.ex @@ -3746,7 +3746,7 @@ defmodule Axon do of a certain type of operation in the graph: Axon.reduce_nodes(model, 0, fn - %Axon.Nodes{op: :relu}, acc -> acc + 1 + %Axon.Node{op: :relu}, acc -> acc + 1 _, acc -> acc end)