Open gongouveia opened 2 weeks ago
Tensors after prunning are of the same dimensions as before but with 0s in it to denote pruned connection. How could I cast tensors to sparse format? Any idea?
@arjun-majumdar
Have you tried:
torch.Tensor.to_sparse()
Refer here
Tensors after prunning are of the same dimensions as before but with 0s in it to denote pruned connection. How could I cast tensors to sparse format? Any idea?
@arjun-majumdar