torch.Tensor.pin_memory

Tensor.pin_memory() Tensor

将张量复制到固定内存中,如果没有已经被固定的话。

本页目录