Shortcuts

torch.Tensor.is_pinned

Tensor.is_pinned()

如果此张量驻留在固定内存中,则返回 true。

优云智算