首页 > 解决方案 > torch.autograd.profiler.profile 中每个条目的含义

问题描述

全部

我只是尝试使用 torch.autograd.profiler.profile 有几个条目

Name    Self CPU %      Self CPU   CPU total %     CPU total  CPU time avg     Self CUDA   Self CUDA %    CUDA total  CUDA time avg    # of Calls  

我在哪里可以找到这些的解释?如果算子涉及 GPU 计算,CPU 总时间计算的时间是否也与 CUDA 总时间重叠?

谢谢!

标签: pytorch

解决方案


推荐阅读