Closed Barcavin closed 1 year ago
What is the non_blocking parameter in SparseTensor class and how can it affect the data storage of the class?
non_blocking
SparseTensor
I am trying to find the documentation but failed so
If the data is in pinned memory, you can use to(device, non_blocking=True) for asynchronous device transfers (similar to torch.Tensor.to()).
to(device, non_blocking=True)
torch.Tensor.to()
Thanks a lot!
What is the
non_blocking
parameter inSparseTensor
class and how can it affect the data storage of the class?I am trying to find the documentation but failed so