torch.cuda.get_device_properties
- torch.cuda.get_device_properties(device=None)
Get the properties of a device.
- Parameters:
device (torch.device or ) – device for which to return the properties of the device. It uses the current device, given by , if is (default).