Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

torch.mtia.current_device#

torch.mtia.current_device()[source]#

Return the index of a currently selected device.

Return type

int