Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 323 Bytes

README.md

File metadata and controls

2 lines (2 loc) · 323 Bytes

Discrete-Latent-Representation

Implementation of a straight-through gradient wrapper to allow for discrete latent representations. Provides binary discretizer which maps hidden representations to {0, 1} and a learnable multi-value discretizer, which maps hidden activations to their closest value in a set of given size.