Skip to content

Add differentiable binary-to-categorical module#41

Draft
kevinchern wants to merge 1 commit intodwavesystems:mainfrom
kevinchern:feature/binary-categorical
Draft

Add differentiable binary-to-categorical module#41
kevinchern wants to merge 1 commit intodwavesystems:mainfrom
kevinchern:feature/binary-categorical

Conversation

@kevinchern
Copy link
Collaborator

@kevinchern kevinchern commented Nov 12, 2025

The BinCat module/function maps a (batch of) bitstring(s) to a one-hot vector(s) and multiplies it(them) with a matrix of parameters as output. Effectively, this module turns bitstrings into categorical variables in a differentiable way.

TODOs:

  • document
  • test
  • release note
  • wrap with store_config

@kevinchern kevinchern marked this pull request as draft November 17, 2025 21:24
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