torch.sspaddmm
should broadcast the input tensor
#69348
Labels
module: sparse
Related to torch.sparse
Stale
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Bug
torch.sspaddmm(input, mat1, mat2)
is equivalent withtorch.addmm(input, mat1, mat2)
andtorch.sparse.addmm(input, mat1, mat2)
except input and mat1 are sparse. So it should broadcast the input tensor like the other two.To Reproduce
Result:
Expected behavior
It should broadcast the input tensor and not raise this kind of error.
Environment
cc @nikitaved @pearu @cpuhrsch @IvanYashchuk
The text was updated successfully, but these errors were encountered: