You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not completely clear on when the switch over to the array interface in was made, but some years ago there was a change to scipy sparse matrix multiplication such that the * operator performs element-wise multiplication, breaking the code logic here somewhat invisibly. The matmul (@) operator was implemented way back in 0.17.0 so it might be worth switching to that operator to avoid getting caught out, if it's not already affected.
The text was updated successfully, but these errors were encountered:
John-Tenet3
changed the title
Matrix multiplication notation change affects H dictionary creation
Matrix multiplication operator change affects H dictionary creation
Jul 2, 2024
ncc/inst2vec/inst2vec_vocabulary.py
Line 349 in 45c3619
ncc/inst2vec/inst2vec_vocabulary.py
Line 354 in 45c3619
I'm not completely clear on when the switch over to the array interface in was made, but some years ago there was a change to scipy sparse matrix multiplication such that the
*
operator performs element-wise multiplication, breaking the code logic here somewhat invisibly. The matmul (@
) operator was implemented way back in 0.17.0 so it might be worth switching to that operator to avoid getting caught out, if it's not already affected.The text was updated successfully, but these errors were encountered: