make variable->Grad() a weak_ptr (#11453)
* fix #11416 * make sgd check tape has been backwarded_ * add error message
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* fix #11416 * make sgd check tape has been backwarded_ * add error message