Fork自 PaddlePaddle / Paddle
* add gradient unittest and update code example for max/min * update docs * remove _get_reduce_all_value