Commit a31061e8 authored by Peter Hawkins's avatar Peter Hawkins Committed by Copybara-Service
Browse files

[JAX] Import scipy submodules directly in code that uses them.

JAX will soon import scipy lazily, so code that relies on JAX having already imported submodules of scipy will fail. Change code to import what it uses.

PiperOrigin-RevId: 480841853
Change-Id: I18a744a561d73da3ccd43c26fcd99d10070c058e
parent ff4f1c61
...@@ -22,7 +22,7 @@ import haiku as hk ...@@ -22,7 +22,7 @@ import haiku as hk
import jax import jax
import jax.numpy as jnp import jax.numpy as jnp
import numpy as np import numpy as np
import scipy import scipy.stats
# Suffixes applied by Haiku for repeated module names. # Suffixes applied by Haiku for repeated module names.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment