I am a freshman in pytorch . I can’t absolutely understand leaf nodes in computed graph. such as:
net = nn.Linear(3, 3)

This example have two leaf nodes . Therefore, I crudely guess input and output of the net are leaf nodes .
However, what is mean of accumulated gradient in leaf nodes?
Thanks in advance!