modify code for working in gpu context. (#13302)
modify code for working in gpu context. (#13302)


eric-haibin-lin/mxnet,dmlc/mxnet,dmlc/mxnet,eric-haibin-lin/mxnet,dmlc/mxnet,zhreshold/mxnet,ptrendx/mxnet,ptrendx/mxnet,dmlc/mxnet,szha/mxnet,sxjscience/mxnet,tlby/mxnet,apache/incubator-mxnet,DickJC123/mxnet,yajiedesign/mxnet,sxjscience/mxnet,dmlc/mxnet,ForkedReposBak/mxnet,szha/mxnet,ptrendx/mxnet,DickJC123/mxnet,sxjscience/mxnet,leezu/mxnet,larroy/mxnet,reminisce/mxnet,zhreshold/mxnet,yajiedesign/mxnet,reminisce/mxnet,apache/incubator-mxnet,zhreshold/mxnet,sxjscience/mxnet,eric-haibin-lin/mxnet,yajiedesign/mxnet,apache/incubator-mxnet,szha/mxnet,eric-haibin-lin/mxnet,sxjscience/mxnet,DickJC123/mxnet,larroy/mxnet,sxjscience/mxnet,yajiedesign/mxnet,reminisce/mxnet,leezu/mxnet,szha/mxnet,sxjscience/mxnet,yajiedesign/mxnet,larroy/mxnet,eric-haibin-lin/mxnet,leezu/mxnet,tlby/mxnet,eric-haibin-lin/mxnet,ForkedReposBak/mxnet,ForkedReposBak/mxnet,ptrendx/mxnet,eric-haibin-lin/mxnet,tlby/mxnet,tlby/mxnet,szha/mxnet,leezu/mxnet,ForkedReposBak/mxnet,zhreshold/mxnet,dmlc/mxnet,reminisce/mxnet,leezu/mxnet,reminisce/mxnet,szha/mxnet,tlby/mxnet,ForkedReposBak/mxnet,sxjscience/mxnet,leezu/mxnet,dmlc/mxnet,tlby/mxnet,zhreshold/mxnet,dmlc/mxnet,larroy/mxnet,zhreshold/mxnet,yajiedesign/mxnet,sxjscience/mxnet,szha/mxnet,ForkedReposBak/mxnet,reminisce/mxnet,reminisce/mxnet,ptrendx/mxnet,yajiedesign/mxnet,zhreshold/mxnet,szha/mxnet,ptrendx/mxnet,eric-haibin-lin/mxnet,ForkedReposBak/mxnet,larroy/mxnet,leezu/mxnet,tlby/mxnet,tlby/mxnet,DickJC123/mxnet,leezu/mxnet,larroy/mxnet,ForkedReposBak/mxnet,ptrendx/mxnet,larroy/mxnet,tlby/mxnet,dmlc/mxnet,szha/mxnet,reminisce/mxnet,tlby/mxnet,ForkedReposBak/mxnet,zhreshold/mxnet,zhreshold/mxnet,larroy/mxnet,ptrendx/mxnet,yajiedesign/mxnet,ptrendx/mxnet,larroy/mxnet,yajiedesign/mxnet,eric-haibin-lin/mxnet,reminisce/mxnet,ptrendx/mxnet,leezu/mxnet,reminisce/mxnet,apache/incubator-mxnet