Skip to main content

Lightwieght JAX context for managing collections of parameters and RNG sequences.

Project description

jaxctx

JAX Context for memoizationg collections of parameters, and handling sequences of random keys. Based loosely on things like haiku, and flax, but not deep learning specific. No support for lifting things like scan, etc. You must build these things on top of this if you want them.

Additional support added for probabilistic parameterisations based on priors.

Change Log

25 Feb, 2026 -- 1.1.0 released with scoped dicts structure changes. Breaks backward compatibility with 1.0.x, but adds support for nested contexts and more flexible scoping.

21 July, 2025 -- 1.0.3 released with support for jaxctx.prior and jaxctx.prior.Prior.

3 June, 2025 -- 1.0.2 prior constrained parameters released.

2 June, 2025 -- 1.0.1 released with context API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaxctx-1.1.0.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jaxctx-1.1.0-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file jaxctx-1.1.0.tar.gz.

File metadata

  • Download URL: jaxctx-1.1.0.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for jaxctx-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d5586fa14d01812fedbaf0eb3c48bdf06b7a1d6100486d7444bd9fd1a748a924
MD5 d8180af4f33ba1305209f838a18e3037
BLAKE2b-256 f743220a4bb59fc69ce71a4d862c37a69a5e5cc6ddce6635da082c46ce5edc79

See more details on using hashes here.

File details

Details for the file jaxctx-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: jaxctx-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for jaxctx-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 303158076c26d362859040bdaa354388eeace056dc2e4e84c3e9432b800e93df
MD5 66ec4968843ad2e47bf7da4706fe358e
BLAKE2b-256 376e1b55a88ca880058cc9777f2f3fe050b58d84cd871843a16a3674e6250a71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page