Move the tensor data onto the default host CppCPU device.
(self)
| 319 | self.device = device |
| 320 | |
| 321 | def to_host(self): |
| 322 | '''Move the tensor data onto the default host CppCPU device. |
| 323 | ''' |
| 324 | self.data.ToHost() |
| 325 | self.device = get_default_device() |
| 326 | |
| 327 | def l2(self): |
| 328 | ''' |