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 np | |
from jax.experimental import stax | |
from jax.experimental import optimizers | |
from jax.experimental.stax import Dense, Relu, Tanh, Softmax, LogSoftmax | |
from jax import jit, grad, random | |
import time | |
import itertools |