jaxonlayers 0.2.3__py3-none-any.whl → 0.2.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,4 +5,4 @@ from jaxtyping import Array
5
5
 
6
6
  def swiglu(x: Array, axis=-1):
7
7
  a, b = jnp.split(x, 2, axis=axis)
8
- return a * jax.nn.swish(b)
8
+ return jax.nn.swish(a) * b
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jaxonlayers
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Additional layers and functions that extend Equinox
5
5
  Requires-Python: >=3.13
6
6
  Requires-Dist: beartype>=0.21.0
@@ -1,6 +1,6 @@
1
1
  jaxonlayers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  jaxonlayers/functions/__init__.py,sha256=lxMNSnEn2pJ1XLLyQTTFXiCcJTdrzfE1RlorqD9lEog,711
3
- jaxonlayers/functions/activation.py,sha256=cjwDEadbJECt1AE1uEtKV_p_wBK_pJ7Bdud0ebm_GNQ,165
3
+ jaxonlayers/functions/activation.py,sha256=cVR1Obcv5JE7GiUNYlxHCcf5bpqZ9OQq8zYwSBJ-svY,165
4
4
  jaxonlayers/functions/attention.py,sha256=AyaAeA2yo5Cgljk2rU6JlVttQeG0FMBLE-f7285PdM0,12945
5
5
  jaxonlayers/functions/embedding.py,sha256=GsXxpB3G72aLY1SHdZk7gxKbNftlEZ3HRDy-7_5z4HM,610
6
6
  jaxonlayers/functions/initialization.py,sha256=h7uzdPl-rL7faT9hbRs5aN6EeaX0r70y88ad1cwZvmY,1161
@@ -18,6 +18,6 @@ jaxonlayers/layers/regularization.py,sha256=ZrvtBJPH84xuxrxEbZc7TBxjp8OvKEv4ecan
18
18
  jaxonlayers/layers/sequential.py,sha256=xBZavhSra0oZUZjSlThzIGER5xR62n46mgTkPqRV2Y0,2843
19
19
  jaxonlayers/layers/state_space.py,sha256=oDVRbduNtU48Q4rLd-XywZcqVN0QYTlq1UUhOXcGLoo,2537
20
20
  jaxonlayers/layers/transformer.py,sha256=Syuh_kN-I-Gg-C20trQcNio1WEG88OHDRl3ShFaQNqQ,21848
21
- jaxonlayers-0.2.3.dist-info/METADATA,sha256=-Pde3UQPCm39v_dIWtAZ4FjKE8CRgl8WbVbsM5-qbAM,565
22
- jaxonlayers-0.2.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
23
- jaxonlayers-0.2.3.dist-info/RECORD,,
21
+ jaxonlayers-0.2.4.dist-info/METADATA,sha256=OImXOgcoZXNtqDMpmggDr186ngnXPHGYz3N_KGk2ITw,565
22
+ jaxonlayers-0.2.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
23
+ jaxonlayers-0.2.4.dist-info/RECORD,,