chainerx.get_default_device

chainerx.get_default_device()

Returns the default device associated with the current thread.

Returns

The default device.

Return type

Device