Closed mtsokol closed 2 months ago
Hi @willow-ahrens,
While implementing SDDMM I found that broadcasting of singleton dimensions fails - here's code for reproducing it:
using Finch a = ones(1, 10, 10); b = ones(10, 1, 10); broadcast(.*, a, b); a_tns = Tensor(a); b_tns = Tensor(b); broadcast(.*, a_tns, b_tns); # ERROR: DimensionMismatch: mismatched dimension limits (10 != 1)
Hi @willow-ahrens,
While implementing SDDMM I found that broadcasting of singleton dimensions fails - here's code for reproducing it: