torch.Tensor.is_pinned

Tensor.is_pinned()

如果该张量位于固定内存中,返回 true。

本页目录