Per Jeff's recent change, now loss is a scalar instead of a tensor of size (1,), and we no longer need the indexing.
Per Jeff's recent change, now loss is a scalar instead of a tensor of size (1,), and we no longer need the indexing.

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