Allow Moving Observer to Cuda
Allow Moving Observer to Cuda

Summary: Allow for moving observer to cuda in emulate_int8_{method} functions in order to make it compatible with pytext trainers.

Reviewed By: huihuifan

Differential Revision: D29686263

fbshipit-source-id: 7eddaadb17163bd4be33de1ae729621d043520d2

pytorch/fairseq,pytorch/fairseq,pytorch/fairseq