Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom dtype for some VSA similarity functions #160

Merged
merged 4 commits into from
Sep 26, 2023

Conversation

mikeheddes
Copy link
Member

Description

With this PR a dtype can be specified for the return of the MAPTensor, BSBCTensor, and BSCTensor. The computation of the similarity value is also performed in this dtype. One therefore has to be careful not to make the precision too low to avoid overflows. This PR closes #158 .

Checklist

  • I added/updated documentation for the changes.
  • I have thoroughly tested the changes.

@mikeheddes mikeheddes merged commit 81691a6 into main Sep 26, 2023
@mikeheddes mikeheddes deleted the feat/allow-dtype branch September 26, 2023 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider allowing the user to choose dot_similarity dtype
1 participant