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