This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jax | |
import jax.numpy as jnp | |
import flax.linen as nn | |
import optax | |
from tensorflow_probability.substrates.jax import distributions as tfd | |
""" | |
There's a typo in most B-TCVAE implementations on github, so I thought I'd make a | |
quick gist of a working B-TCVAE. |