torch.autograd.profiler.profile.total_average profile.total_average()[源代码] 计算所有事件的平均值。 返回值 一个 FunctionEventAvg 对象。