Created by: gentelyang
device = envs.get_global_env("device") if device == 'gpu': self._place = fluid.CUDAPlace(0) elif device == 'cpu': self._place = fluid.CPUPlace()