sigpy.linop.ToDevice

class sigpy.linop.ToDevice(shape, odevice, idevice)[source]

Move input between devices.

Parameters:
  • shape (tuple of ints) – Input/output shape.
  • odevice (Device) – Output device
  • idevice (Device) – Input device
__init__(shape, odevice, idevice)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(shape, odevice, idevice) Initialize self.
apply(input) Apply linear operation on input.

Attributes

H Return adjoint linear operator.
N Return normal linear operator.