MatchingBackend.set_device#

abstract MatchingBackend.set_device()[source]#

Context manager that sets active compute device device for operations.

Parameters:
device_indexint

Index of the device to be set as active.