Rate this Page

torch.Tensor.is_sparse#

Tensor.is_sparse#

IsTrue if the Tensor uses sparse COO storage layout,False otherwise.