Skip to content

Fix dtype validation error in the Fractional Power Encoding #148

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

Merged
merged 4 commits into from
Jul 8, 2023

Conversation

mikeheddes
Copy link
Member

@mikeheddes mikeheddes commented Jul 8, 2023

Description

The current validation of the provided dtype expects a value to be passed but the default is None. Moreover, for the FHRR VSA model, the dtype used for the weights/phases stored by the FractionalPower embedding are different from the hypervector returned by the embedding, i.e., complex64 means that the weights are float32.

This resolves issue #147.

Checklist

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

@mikeheddes mikeheddes linked an issue Jul 8, 2023 that may be closed by this pull request
@mikeheddes mikeheddes merged commit 8c35951 into main Jul 8, 2023
@mikeheddes mikeheddes deleted the fix-fpe branch July 8, 2023 21:58
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.

FPE is not working after adding new check
1 participant