Skip to content
fn

run_slot_hooks_for_graph

int run_slot_hooks_for_graph(Node & producer, int output_nr, int grad)

run_slot_hooks for create_graph: the hooks run with grad mode on and see the gradient with its graph, and what they return keeps its own.