thunder.core.devices.to_device

thunder.core.devices.to_device(x, /)[source]
Return type:

Optional[Device]

Parameters:

x (None | str | torch.device | thunder.core.devices.Device) –

Was this page helpful?

What went wrong?

↑↓ Navigate↵ Open⌘↵ New tabesc Close