I am also dealing with sparse tensors for one project and I am having hard time understanding how to correctly deal with them without reinventing the wheel.
Is there any documentation where you found this resize_as_ function ? How should we use it ? Is there any other useful functions ? Because this function is not listed in the documentation (http://pytorch.org/docs/master/sparse.html 14).