* update 2.0 public api in all left files * reverse device.py all list; fix some flake8 errors
* test=develop, fix test_lookahead
* test=develop, add model_average and lookahead