Fork自 PaddlePaddle / Paddle
* use function instead of lambda, test=develop * follow comments, test=develop
* add op function generator, test=develop * add unittest, test=develop * follow comments, test=develop * fix windows compilation problem, test=develop