This file contains hidden or 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 itertools as it | |
import jax | |
import jax.numpy as jnp | |
jax.config.update('jax_enable_x64', True) | |
jax.config.update('jax_platform_name', 'cpu') | |
L = num_stages = 5 | |
N = batch_size = 6 |
This file contains hidden or 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
# [email protected] | |
import atexit | |
import functools | |
from absl import app | |
from absl import flags | |
from absl import logging | |
import jax | |
from jax.lib import xla_extension as xc |