torch.cuda.is_tf32_supported¶ torch.cuda.is_tf32_supported()[源代码][源代码]¶ 返回一个布尔值,指示当前的 CUDA/ROCm 设备是否支持 dtype 为 tf32。 返回类型 bool