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.3.tar.gz (33.8 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.3-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jaxctx-1.1.3.tar.gz
Algorithm Hash digest
SHA256 390a8a48e99f8ba10c11d3912be80ae219f6c4728a19d4e968ac7f059d78306e
MD5 ba1b31c83b56dc446ed1f58e870a90d6
BLAKE2b-256 7720d4ce92f545bd0134981607e9d8866d55d92da8bdf3853eb5da51983b7f99

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jaxctx-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e7730bc29897b336f9ce1b749259fa3064a51330114cb60ce37810937d71cdf6
MD5 0700bcc1de868b7a7860b27914bb5678
BLAKE2b-256 0542d6f7e71391e8f63303fcf27dd7ea207c29beb6f2193a833a017a4bf1703a

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