File tree Expand file tree Collapse file tree 3 files changed +1543
-1334
lines changed
Expand file tree Collapse file tree 3 files changed +1543
-1334
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ classifiers = [
1717dependencies = [
1818 " chex>=0.1.86" ,
1919 " differt-core==0.0.37" ,
20- " equinox>=0.11.5 " ,
20+ " equinox>=0.12.2 " ,
2121 " filelock>=3.15.4" ,
2222 " jax>=0.4.32" ,
2323 " jaxtyping>=0.2.24" ,
Original file line number Diff line number Diff line change 22from typing import Any
33
44import chex
5- import equinox as eqx
65import jax
76import jax .numpy as jnp
87import matplotlib .pyplot as plt
@@ -34,19 +33,3 @@ def set_printoptions() -> None:
3433 # We need to do that because floats seem to vary across OSes:
3534 # https://github.com/numpy/numpy/issues/21209.
3635 jax .numpy .set_printoptions (precision = 7 , suppress = True )
37-
38-
39- class _wrap_method (eqx ._module ._wrap_method ): # noqa: N801, SLF001
40- def __init__ (self , * args : Any , ** kwargs : Any ) -> None :
41- super ().__init__ (* args , ** kwargs )
42- try : # noqa: SIM105
43- self .__module__ = self .method .__module__
44- except AttributeError :
45- pass
46- try : # noqa: SIM105
47- self .__doc__ = self .method .__doc__
48- except AttributeError :
49- pass
50-
51-
52- eqx ._module ._wrap_method = _wrap_method # noqa: SLF001
You can’t perform that action at this time.
0 commit comments