thunder.core.devices.Device

class thunder.core.devices.Device(string_or_devicetype, index=None, /)[source]

Bases: object

__init__(string_or_devicetype, index=None, /)[source]
Parameters:

Methods

__init__(string_or_devicetype[, index])

device_str()

rtype:

str

Attributes

devicetype

index

type