torch.Tensor.is_shared()

Tensor.is_shared()[源代码]

判断张量是否位于共享内存中。

CUDA张量总是为True

本页目录