评价此页

torch.cuda.memory.reset_peak_host_memory_stats#

torch.cuda.memory.reset_peak_host_memory_stats()[source]#

重置主机内存分配器的“峰值”统计信息。

有关详细信息,请参阅 host_memory_stats()。峰值统计信息对应于每个单独统计词典中的 “peak” 键。