moscot.base.output.BaseDiscreteSolverOutput.to¶ abstract BaseDiscreteSolverOutput.to(device=None)¶ Transfer self to another compute device. Parameters: device (Union[Literal['cpu', 'gpu', 'tpu'], str, None]) – Device where to transfer the solver output. If None, use the default device. self (BaseSolverOutput) Return type: BaseSolverOutput Returns: : Self transferred to the device.