Skip to content

Instantly share code, notes, and snippets.

@shoyer
shoyer / copy-of-benchmark_gmres.ipynb
Last active Sep 16, 2020
Copy of benchmark_gmres.ipynb
View copy-of-benchmark_gmres.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View numpy-vindex.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@shoyer
shoyer / jax-harmonic-oscillator-odeint.ipynb
Last active Aug 18, 2020
JAX harmonic oscillator odeint.ipynb
View jax-harmonic-oscillator-odeint.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View contextvars_with_contextmanager.py
# Copyright 2020 Google LLC.
# SPDX-License-Identifier: Apache-2.0
from contextvars import ContextVar
from contextlib import contextmanager
# library code
my_option = ContextVar('my_option', default='default')
View poisson-pytree-benchmark.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@shoyer
shoyer / simple-jax-gmres-vectorized.ipynb
Last active Jul 13, 2020
Simple JAX GMRES vectorized
View simple-jax-gmres-vectorized.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View simple-jax-gmres.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@shoyer
shoyer / numba-vs-jax-filter.ipynb
Last active Jun 16, 2020
numba vs jax filter.ipynb
View numba-vs-jax-filter.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@shoyer
shoyer / jax-einsum-primitive.ipynb
Last active Jun 8, 2020
JAX einsum primitive .ipynb
View jax-einsum-primitive.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View JAX_TF_eager_autodiff_compatibility.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.