fix cython ndarray error handling (#4209)
fix cython ndarray error handling (#4209)


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