From a08c03b6ebb5c3d9606d1baafb8728a0963080ff Mon Sep 17 00:00:00 2001 From: samadpls Date: Fri, 1 Nov 2024 18:57:54 +0500 Subject: [PATCH] Fixed DynEdge instantiation in documentation Signed-off-by: samadpls --- docs/source/models/models.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/models/models.rst b/docs/source/models/models.rst index 4ec16ac76..42b820f10 100644 --- a/docs/source/models/models.rst +++ b/docs/source/models/models.rst @@ -303,7 +303,7 @@ Below is a snippet that defines a :code:`Model` that reconstructs the zenith ang nb_nearest_neighbours=8, ) backbone = DynEdge( - nb_inputs=detector.nb_outputs, + nb_inputs=graph_definition.nb_outputs, global_pooling_schemes=["min", "max", "mean"], ) task = ZenithReconstructionWithKappa(