Fork自 PaddlePaddle / Paddle
* fix #11416 * make sgd check tape has been backwarded_ * add error message