Open QWTforGithub opened 3 years ago
I created a network with MinkowskiEngin and bound a backpropagation hook function to one layer of the network. When I get the result of the network, I explicitly propagate the result backward, but I cannot call the backward propagated hook function of that layer. How can I call this hook function when propagating backward?
My goal was to get the gradient of that layer, but I found that the hook function of that layer was not called when backward propagation occurred.
I created a network with MinkowskiEngin and bound a backpropagation hook function to one layer of the network. When I get the result of the network, I explicitly propagate the result backward, but I cannot call the backward propagated hook function of that layer. How can I call this hook function when propagating backward?