oneflow.Tensor.is_pinned

Tensor.is_pinned()bool

Returns true if this tensor resides in pinned memory.