Rate this Page

torch.mtia.get_device_properties#

torch.mtia.get_device_properties(device=None)[source]#

Return a dictionary of MTIA device properties

Parameters:

device (torch.device or int, optional) – statistics for the current device, given by current_device(), if device is None (default).

Return type:

dict[str, Any]