You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, I gave a wrong information and forgot to reply you, very sorry.
Finally, I still found get_grad cannot get the gradient matrix in GPU mode. I guess gradient matrix is not correctly copied.
I use this PR #3085 to print parameter values and gradients in
event handle
.My usage is as the follows:
use_gpu=True
intrain.init()
,get_grad
always returns an all-zero matrix.use_gpu=False
and keep all the other things unchanged, it returns a non-zeros matrix.The text was updated successfully, but these errors were encountered: