Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The operator += will call the __iadd__ function, which triggers a type check and fails when a PyTorch Tensor is added to a SparseTensor. This commit fixes this problem by using the + operator, which calls the __add__ function.
- Loading branch information