A copy of this Tensor with contents backed by host memory.
(self)
| 1050 | |
| 1051 | @deprecation.deprecated(None, "Use tf.identity instead.") |
| 1052 | def cpu(self): |
| 1053 | """A copy of this Tensor with contents backed by host memory.""" |
| 1054 | return self._copy(context.context(), "CPU:0") |
| 1055 | |
| 1056 | @deprecation.deprecated(None, "Use tf.identity instead.") |
| 1057 | def gpu(self, gpu_index=0): |