MinkowskiEngine icon indicating copy to clipboard operation
MinkowskiEngine copied to clipboard

A question about how to call the backward propagated hook function

Open QWTforGithub opened this issue 4 years ago • 1 comments

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?

QWTforGithub avatar Sep 19 '21 01:09 QWTforGithub

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.

QWTforGithub avatar Sep 19 '21 02:09 QWTforGithub