Fork自 PaddlePaddle / Paddle
append_gradient_machine should append __gradient_machines__ in all conditions.