Ensure sparse_gradients feed to CPU
Ensure sparse_gradients feed to CPU

Summary: Ensure sparse gradients tensors are copied to CPU

Reviewed By: dzhulgakov

Differential Revision: D4987701

fbshipit-source-id: 81f93c4f9d4b9bc5855cd4e9683d1a887b27e0cf

davinwang/caffe2,bwasti/caffe2,Yangqing/caffe2,sf-wind/caffe2,pietern/caffe2,pietern/caffe2,xzturn/caffe2,bwasti/caffe2,sf-wind/caffe2,bwasti/caffe2,Yangqing/caffe2,caffe2/caffe2,pietern/caffe2,Yangqing/caffe2,bwasti/caffe2,xzturn/caffe2,davinwang/caffe2,Yangqing/caffe2,sf-wind/caffe2,davinwang/caffe2,sf-wind/caffe2,xzturn/caffe2,xzturn/caffe2,Yangqing/caffe2,sf-wind/caffe2,pietern/caffe2,pietern/caffe2,davinwang/caffe2,xzturn/caffe2,davinwang/caffe2,bwasti/caffe2