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

Simplified renaming of various core functions and classes #124

Merged
merged 14 commits into from
Feb 26, 2023

Conversation

mikeheddes
Copy link
Member

@mikeheddes mikeheddes commented Feb 24, 2023

The aim here is to align in naming with PyTorch and improving clarity of the API. Therefore all PyTorch Tensor subclasses are now suffixed with Tensor.

Breaking changes:

  • VSA_Model -> VSATensor
  • BSC -> BSCTensor
  • MAP -> MAPTensor
  • HRR -> HRRTensor
  • FHRR -> FHRRTensor
  • empty_hv -> empty
  • identity_hv -> identity
  • random_hv -> random
  • level_hv -> level
  • thermometer_hv -> thermometer
  • circular_hv -> circular
  • cos_similarity -> cosine_similarity and aliased as cos
  • The function signature of hypervector creation now takes in a string instead of the VSATensor type

Additional changes:

  • dot_similarity is aliased as dot
  • SDM renamed as SparseDistributed

@mikeheddes mikeheddes merged commit 890a502 into main Feb 26, 2023
@mikeheddes mikeheddes deleted the feat/renaming branch February 26, 2023 00:59
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.

2 participants