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
With my implementation and an old version from others, I got this assertion error:
But if I print one of the m, v, grad,it will pass (for both my implementation and another one):
Note that I only transform the m and v to ndl.Tensor for once and use the .data in calculation, and I can pass the previous test_optim_sgd_z_memory_check_1.
Could anyone explain this? I'm quite confused why this would influence the count of tensors. Thanks for help :)
The text was updated successfully, but these errors were encountered:
With my implementation and an old version from others, I got this assertion error:


But if I print one of the
m, v, grad
,it will pass (for both my implementation and another one):Note that I only transform the
m
andv
tondl.Tensor
for once and use the.data
in calculation, and I can pass the previoustest_optim_sgd_z_memory_check_1
.Could anyone explain this? I'm quite confused why this would influence the count of tensors. Thanks for help :)
The text was updated successfully, but these errors were encountered: