torch.xpu.clock_rate
- torch.xpu.clock_rate(device=None)
Return the GPU clock rate in MHz.
- Parameters:
device (torch.device, str) – selected device. Uses the current device, given by , if (default).
Return the GPU clock rate in MHz.
device (torch.device, str) – selected device. Uses the current device, given by , if (default).
None