torch_npu.contrib.Prefetcher

API接口

torch_npu.contrib.Prefetcher(loader, stream=None)

功能描述

npu设备上使用的预取程序。

参数说明