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
Hello ,
I just create a pull request containing code which user numpy for vectorized similarity calculation.
There already was a code for vectorized calculation using torch. but the main point here is we dont need torch for such a small operation which can be easily done by numpy in much optimized fashion.
Where if we need tensor of that similarity matrices we can easily convert it into either torch tensor or tensorflow entity.
It need vectorization to support similarity measure for large matrices in bulk.
Current approch is quite slow.
The text was updated successfully, but these errors were encountered: