• 文档 >
  • 自动微分包 - torch.autograd >
  • torch.autograd.profiler.profile.self_cpu_time_total
快捷键

torch.autograd.profiler.profile.self_cpu_time_total

属性 profile.self_cpu_time_total ¶

返回在 CPU 上花费的总时间。

所有事件的自我时间总和即为总时间。


© 版权所有 PyTorch 贡献者。

使用 Sphinx 构建,主题由 Read the Docs 提供。

文档

访问 PyTorch 的全面开发者文档

查看文档

教程

深入了解初学者和高级开发者的教程

查看教程

资源

查找开发资源并获得您的疑问解答

查看资源