Update mlp.cpp
Update mlp.cpp

cleanup the code as Google Style
likelyzhao/mxnet,likelyzhao/mxnet,CodingCat/mxnet,stefanhenneking/mxnet,DR08/mxnet,rishita/mxnet,jennyzhang0215/incubator-mxnet,nicklhy/mxnet,weleen/mxnet,dmlc/mxnet,Mega-DatA-Lab/mxnet,mbaijal/incubator-mxnet,tlby/mxnet,piiswrong/mxnet,vikingMei/mxnet,ForkedReposBak/mxnet,navrasio/mxnet,lxn2/mxnet,zhreshold/mxnet,reminisce/mxnet,leezu/mxnet,yuruofeifei/mxnet,navrasio/mxnet,sxjscience/mxnet,vikingMei/mxnet,lxn2/mxnet,rahul003/mxnet,wangyum/mxnet,Prasad9/incubator-mxnet,Northrend/mxnet,ForkedReposBak/mxnet,madjam/mxnet,crazy-cat/incubator-mxnet,gautamkmr/incubator-mxnet,coder-james/mxnet,coder-james/mxnet,yuruofeifei/mxnet,wangyum/mxnet,tlby/mxnet,apaleyes/mxnet,ZihengJiang/mxnet,thirdwing/mxnet,Prasad9/incubator-mxnet,ptrendx/mxnet,formath/mxnet,hpi-xnor/BMXNet,leezu/mxnet,tlby/mxnet,antoan2/incubator-mxnet,LinkHS/incubator-mxnet,apache/incubator-mxnet,piiswrong/mxnet,formath/mxnet,likelyzhao/mxnet,kkk669/mxnet,dmlc/mxnet,rahul003/mxnet,jiajiechen/mxnet,vikingMei/mxnet,sergeykolychev/mxnet,CodingCat/mxnet,eric-haibin-lin/mxnet,Ldpe2G/mxnet,ForkedReposBak/mxnet,saurabh3949/mxnet,hesseltuinhof/mxnet,sxjscience/mxnet,sxjscience/mxnet,TuSimple/mxnet,jennyzhang0215/incubator-mxnet,fullfanta/mxnet,madjam/mxnet,szha/mxnet,ShownX/incubator-mxnet,reminisce/mxnet,coder-james/mxnet,larroy/mxnet,thirdwing/mxnet,stefanhenneking/mxnet,lxn2/mxnet,pluskid/mxnet,EvanzzzZ/mxnet,rahul003/mxnet,hotpxl/mxnet,yajiedesign/mxnet,DickJC123/mxnet,smolix/incubator-mxnet,smolix/incubator-mxnet,vikingMei/mxnet,coder-james/mxnet,Guneet-Dhillon/mxnet,navrasio/mxnet,Guneet-Dhillon/mxnet,hesseltuinhof/mxnet,Guneet-Dhillon/mxnet,mbaijal/incubator-mxnet,hesseltuinhof/mxnet,tornadomeet/mxnet,piiswrong/mxnet,piiswrong/mxnet,LinkHS/incubator-mxnet,weleen/mxnet,hotpxl/mxnet,navrasio/mxnet,vikingMei/mxnet,larroy/mxnet,navrasio/mxnet,jiajiechen/mxnet,antoan2/incubator-mxnet,antoan2/incubator-mxnet,sergeykolychev/mxnet,tlby/mxnet,LinkHS/incubator-mxnet,reminisce/mxnet,danithaca/mxnet,ptrendx/mxnet,fullfanta/mxnet,vikingMei/mxnet,danithaca/mxnet,formath/mxnet,coder-james/mxnet,hotpxl/mxnet,kevinthesun/mxnet,indhub/mxnet,xcgoner/dist-mxnet,Northrend/mxnet,solin319/incubator-mxnet,jennyzhang0215/incubator-mxnet,thirdwing/mxnet,luoyetx/mxnet,DR08/mxnet,fullfanta/mxnet,zhreshold/mxnet,ZihengJiang/mxnet,mbaijal/incubator-mxnet,ykim362/mxnet,eric-haibin-lin/mxnet,EvanzzzZ/mxnet,piiswrong/mxnet,piiswrong/mxnet,Mega-DatA-Lab/mxnet,indhub/mxnet,gautamkmr/incubator-mxnet,Prasad9/incubator-mxnet,zhreshold/mxnet,EvanzzzZ/mxnet,ZihengJiang/mxnet,sergeykolychev/mxnet,xcgoner/dist-mxnet,CodingCat/mxnet,luoyetx/mxnet,madjam/mxnet,jennyzhang0215/incubator-mxnet,sxjscience/mxnet,Guneet-Dhillon/mxnet,tlby/mxnet,wangyum/mxnet,rahul003/mxnet,yajiedesign/mxnet,hesseltuinhof/mxnet,rishita/mxnet,CodingCat/mxnet,sxjscience/mxnet,jermainewang/mxnet,ykim362/mxnet,szha/mxnet,kkk669/mxnet,apache/incubator-mxnet,hotpxl/mxnet,Northrend/mxnet,zhreshold/mxnet,Ldpe2G/mxnet,yuruofeifei/mxnet,piiswrong/mxnet,stefanhenneking/mxnet,xcgoner/dist-mxnet,szha/mxnet,Mega-DatA-Lab/mxnet,hotpxl/mxnet,DR08/mxnet,kkk669/mxnet,DickJC123/mxnet,gautamkmr/incubator-mxnet,formath/mxnet,crazy-cat/incubator-mxnet,reminisce/mxnet,weleen/mxnet,jermainewang/mxnet,precedenceguo/mxnet,madjam/mxnet,wangyum/mxnet,saurabh3949/mxnet,reminisce/mxnet,eric-haibin-lin/mxnet,madjam/mxnet,apaleyes/mxnet,ShownX/incubator-mxnet,DR08/mxnet,leezu/mxnet,kkk669/mxnet,Ldpe2G/mxnet,piiswrong/mxnet,rishita/mxnet,lxn2/mxnet,Guneet-Dhillon/mxnet,ShownX/incubator-mxnet,leezu/mxnet,Northrend/mxnet,jamesliu/mxnet,arank/mxnet,jamesliu/mxnet,rahul003/mxnet,nicklhy/mxnet,solin319/incubator-mxnet,apaleyes/mxnet,antoan2/incubator-mxnet,eric-haibin-lin/mxnet,mbaijal/incubator-mxnet,nicklhy/mxnet,hpi-xnor/BMXNet,precedenceguo/mxnet,crazy-cat/incubator-mxnet,formath/mxnet,sxjscience/mxnet,smolix/incubator-mxnet,pluskid/mxnet,likelyzhao/mxnet,indhub/mxnet,crazy-cat/incubator-mxnet,fullfanta/mxnet,rishita/mxnet,vikingMei/mxnet,luoyetx/mxnet,arank/mxnet,smolix/incubator-mxnet,sxjscience/mxnet,rishita/mxnet,arank/mxnet,ForkedReposBak/mxnet,eric-haibin-lin/mxnet,CodingCat/mxnet,mbaijal/incubator-mxnet,yajiedesign/mxnet,kevinthesun/mxnet,CodingCat/mxnet,apache/incubator-mxnet,fullfanta/mxnet,thirdwing/mxnet,reminisce/mxnet,danithaca/mxnet,madjam/mxnet,Guneet-Dhillon/mxnet,larroy/mxnet,ptrendx/mxnet,arikpoz/mxnet,apaleyes/mxnet,pluskid/mxnet,madjam/mxnet,arank/mxnet,rishita/mxnet,hpi-xnor/BMXNet,hpi-xnor/BMXNet,jermainewang/mxnet,solin319/incubator-mxnet,jiajiechen/mxnet,gautamkmr/incubator-mxnet,smolix/incubator-mxnet,coder-james/mxnet,indhub/mxnet,mbaijal/incubator-mxnet,wangyum/mxnet,weleen/mxnet,ForkedReposBak/mxnet,pluskid/mxnet,rahul003/mxnet,LinkHS/incubator-mxnet,zhreshold/mxnet,szha/mxnet,DR08/mxnet,EvanzzzZ/mxnet,wangyum/mxnet,gautamkmr/incubator-mxnet,ZihengJiang/mxnet,ForkedReposBak/mxnet,rahul003/mxnet,nicklhy/mxnet,jiajiechen/mxnet,gautamkmr/incubator-mxnet,dmlc/mxnet,apaleyes/mxnet,apaleyes/mxnet,jermainewang/mxnet,kkk669/mxnet,tlby/mxnet,Northrend/mxnet,arikpoz/mxnet,dmlc/mxnet,EvanzzzZ/mxnet,jamesliu/mxnet,crazy-cat/incubator-mxnet,TuSimple/mxnet,dmlc/mxnet,indhub/mxnet,arikpoz/mxnet,jermainewang/mxnet,pluskid/mxnet,weleen/mxnet,tornadomeet/mxnet,weleen/mxnet,thirdwing/mxnet,yajiedesign/mxnet,jiajiechen/mxnet,thirdwing/mxnet,tornadomeet/mxnet,DickJC123/mxnet,stefanhenneking/mxnet,kevinthesun/mxnet,formath/mxnet,arank/mxnet,Prasad9/incubator-mxnet,ptrendx/mxnet,pluskid/mxnet,jermainewang/mxnet,hesseltuinhof/mxnet,ptrendx/mxnet,danithaca/mxnet,ptrendx/mxnet,danithaca/mxnet,xcgoner/dist-mxnet,yajiedesign/mxnet,smolix/incubator-mxnet,fullfanta/mxnet,precedenceguo/mxnet,jamesliu/mxnet,fullfanta/mxnet,tornadomeet/mxnet,dmlc/mxnet,hotpxl/mxnet,fullfanta/mxnet,jennyzhang0215/incubator-mxnet,gautamkmr/incubator-mxnet,xcgoner/dist-mxnet,luoyetx/mxnet,stefanhenneking/mxnet,yajiedesign/mxnet,ykim362/mxnet,ShownX/incubator-mxnet,jamesliu/mxnet,smolix/incubator-mxnet,hesseltuinhof/mxnet,xcgoner/dist-mxnet,TuSimple/mxnet,leezu/mxnet,DR08/mxnet,Ldpe2G/mxnet,rahul003/mxnet,Mega-DatA-Lab/mxnet,solin319/incubator-mxnet,hotpxl/mxnet,larroy/mxnet,formath/mxnet,Guneet-Dhillon/mxnet,saurabh3949/mxnet,jermainewang/mxnet,kkk669/mxnet,stefanhenneking/mxnet,LinkHS/incubator-mxnet,DR08/mxnet,apaleyes/mxnet,reminisce/mxnet,jennyzhang0215/incubator-mxnet,jiajiechen/mxnet,navrasio/mxnet,wangyum/mxnet,DR08/mxnet,sergeykolychev/mxnet,apache/incubator-mxnet,piiswrong/mxnet,kkk669/mxnet,reminisce/mxnet,danithaca/mxnet,solin319/incubator-mxnet,EvanzzzZ/mxnet,Mega-DatA-Lab/mxnet,weleen/mxnet,leezu/mxnet,danithaca/mxnet,kevinthesun/mxnet,yuruofeifei/mxnet,jiajiechen/mxnet,zhreshold/mxnet,saurabh3949/mxnet,ZihengJiang/mxnet,jiajiechen/mxnet,vikingMei/mxnet,ShownX/incubator-mxnet,ForkedReposBak/mxnet,jennyzhang0215/incubator-mxnet,Prasad9/incubator-mxnet,coder-james/mxnet,Prasad9/incubator-mxnet,mbaijal/incubator-mxnet,ykim362/mxnet,crazy-cat/incubator-mxnet,larroy/mxnet,EvanzzzZ/mxnet,nicklhy/mxnet,hesseltuinhof/mxnet,kevinthesun/mxnet,pluskid/mxnet,luoyetx/mxnet,ykim362/mxnet,nicklhy/mxnet,tornadomeet/mxnet,danithaca/mxnet,xcgoner/dist-mxnet,sergeykolychev/mxnet,antoan2/incubator-mxnet,Prasad9/incubator-mxnet,wangyum/mxnet,indhub/mxnet,LinkHS/incubator-mxnet,TuSimple/mxnet,Northrend/mxnet,indhub/mxnet,pluskid/mxnet,Ldpe2G/mxnet,hotpxl/mxnet,jiajiechen/mxnet,apaleyes/mxnet,larroy/mxnet,solin319/incubator-mxnet,sergeykolychev/mxnet,Ldpe2G/mxnet,smolix/incubator-mxnet,LinkHS/incubator-mxnet,mbaijal/incubator-mxnet,ForkedReposBak/mxnet,TuSimple/mxnet,precedenceguo/mxnet,luoyetx/mxnet,lxn2/mxnet,leezu/mxnet,tornadomeet/mxnet,dmlc/mxnet,precedenceguo/mxnet,ZihengJiang/mxnet,coder-james/mxnet,eric-haibin-lin/mxnet,thirdwing/mxnet,arank/mxnet,gautamkmr/incubator-mxnet,ShownX/incubator-mxnet,arank/mxnet,ShownX/incubator-mxnet,stefanhenneking/mxnet,TuSimple/mxnet,arikpoz/mxnet,solin319/incubator-mxnet,precedenceguo/mxnet,saurabh3949/mxnet,Mega-DatA-Lab/mxnet,madjam/mxnet,LinkHS/incubator-mxnet,navrasio/mxnet,luoyetx/mxnet,antoan2/incubator-mxnet,jermainewang/mxnet,antoan2/incubator-mxnet,Guneet-Dhillon/mxnet,navrasio/mxnet,lxn2/mxnet,arikpoz/mxnet,DickJC123/mxnet,solin319/incubator-mxnet,weleen/mxnet,szha/mxnet,leezu/mxnet,hotpxl/mxnet,arikpoz/mxnet,LinkHS/incubator-mxnet,ShownX/incubator-mxnet,Ldpe2G/mxnet,kevinthesun/mxnet,likelyzhao/mxnet,Mega-DatA-Lab/mxnet,larroy/mxnet,jamesliu/mxnet,danithaca/mxnet,tornadomeet/mxnet,CodingCat/mxnet,yuruofeifei/mxnet,tlby/mxnet,nicklhy/mxnet,lxn2/mxnet,luoyetx/mxnet,gautamkmr/incubator-mxnet,xcgoner/dist-mxnet,antoan2/incubator-mxnet,Ldpe2G/mxnet,ZihengJiang/mxnet,crazy-cat/incubator-mxnet,szha/mxnet,yuruofeifei/mxnet,Ldpe2G/mxnet,arikpoz/mxnet,ptrendx/mxnet,thirdwing/mxnet,yuruofeifei/mxnet,arank/mxnet,pluskid/mxnet,ykim362/mxnet,ptrendx/mxnet,EvanzzzZ/mxnet,Northrend/mxnet,smolix/incubator-mxnet,stefanhenneking/mxnet,jamesliu/mxnet,ykim362/mxnet,DR08/mxnet,sergeykolychev/mxnet,antoan2/incubator-mxnet,Northrend/mxnet,sxjscience/mxnet,formath/mxnet,CodingCat/mxnet,yuruofeifei/mxnet,jamesliu/mxnet,CodingCat/mxnet,Mega-DatA-Lab/mxnet,coder-james/mxnet,TuSimple/mxnet,lxn2/mxnet,fullfanta/mxnet,wangyum/mxnet,larroy/mxnet,yajiedesign/mxnet,precedenceguo/mxnet,kkk669/mxnet,arank/mxnet,lxn2/mxnet,tlby/mxnet,yajiedesign/mxnet,reminisce/mxnet,TuSimple/mxnet,mbaijal/incubator-mxnet,hpi-xnor/BMXNet,yajiedesign/mxnet,ForkedReposBak/mxnet,ShownX/incubator-mxnet,ptrendx/mxnet,kevinthesun/mxnet,nicklhy/mxnet,szha/mxnet,Northrend/mxnet,ptrendx/mxnet,solin319/incubator-mxnet,ykim362/mxnet,likelyzhao/mxnet,crazy-cat/incubator-mxnet,hpi-xnor/BMXNet,apaleyes/mxnet,ZihengJiang/mxnet,TuSimple/mxnet,sergeykolychev/mxnet,luoyetx/mxnet,precedenceguo/mxnet,hpi-xnor/BMXNet,thirdwing/mxnet,zhreshold/mxnet,tornadomeet/mxnet,tornadomeet/mxnet,rishita/mxnet,jennyzhang0215/incubator-mxnet,nicklhy/mxnet,leezu/mxnet,eric-haibin-lin/mxnet,sxjscience/mxnet,Prasad9/incubator-mxnet,zhreshold/mxnet,weleen/mxnet,likelyzhao/mxnet,larroy/mxnet,hesseltuinhof/mxnet,crazy-cat/incubator-mxnet,Guneet-Dhillon/mxnet,saurabh3949/mxnet,zhreshold/mxnet,ZihengJiang/mxnet,hesseltuinhof/mxnet,madjam/mxnet,stefanhenneking/mxnet,reminisce/mxnet,rishita/mxnet,rishita/mxnet,hpi-xnor/BMXNet,saurabh3949/mxnet,likelyzhao/mxnet,szha/mxnet,arikpoz/mxnet,indhub/mxnet,kevinthesun/mxnet,TuSimple/mxnet,tlby/mxnet,hpi-xnor/BMXNet,sergeykolychev/mxnet,EvanzzzZ/mxnet,tlby/mxnet,dmlc/mxnet,vikingMei/mxnet,ykim362/mxnet,saurabh3949/mxnet,Mega-DatA-Lab/mxnet,saurabh3949/mxnet,dmlc/mxnet,eric-haibin-lin/mxnet,rahul003/mxnet,arikpoz/mxnet,szha/mxnet,likelyzhao/mxnet,kkk669/mxnet,kevinthesun/mxnet,navrasio/mxnet,jamesliu/mxnet,xcgoner/dist-mxnet,precedenceguo/mxnet,eric-haibin-lin/mxnet,formath/mxnet,yuruofeifei/mxnet,jermainewang/mxnet,Prasad9/incubator-mxnet,indhub/mxnet,jennyzhang0215/incubator-mxnet