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

Add normalization function of hypervectors and deprecate hard_quantize #173

Merged
merged 23 commits into from
Sep 1, 2024

Conversation

mikeheddes
Copy link
Member

Description

Add a new method normalize to each VSATensor subclass which normalizes the hypervector. A hypervector can also be normalized using the convenience function torchhd.normalize. This feature is intended to replace torchhd.hard_quantize which is hereby deprecated.

Closes #172

Checklist

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

@mikeheddes mikeheddes merged commit bdffc21 into main Sep 1, 2024
10 checks passed
@mikeheddes mikeheddes deleted the feat/normalize branch September 1, 2024 15: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.

Lack of normalization after bundle in FHRR
1 participant