How to calculate sum(A .* (B * C), 'all') [Ed. actually sum(A .* log(B * C), 'all')] efficiently when A is sparse and B*C is full and large?
I have three matrices, A of size [J,I], B of size [J,K], C of size [K,I]. A is a sparse matrix with more than 90% zeros, while B...
3ヶ月 前 | 5 件の回答 | 1
How can I perform large sparse matrix multiplication efficiently when one sparse matrix is block diagonal?
Background: I have a 3d matrix V of size [J,I,K], where J and I are large, say J=1e5 and I=1e4. I would like to get two matric...
3ヶ月 前 | 4 件の回答 | 0