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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxctx-1.1.2.tar.gz
  • Upload date:
  • Size: 33.1 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.2.tar.gz
Algorithm Hash digest
SHA256 a2a54227d6826320e57fe758bdf5e533b5872fac1cf254537bf4dd457b316d86
MD5 b9fcb863eb54aa177213ad33f2e41531
BLAKE2b-256 6b0a0e8e4337bab6cde4308aebdcc4841458fb8fa6c82a647aee68094123ba39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxctx-1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 663ac368d201418d8414e5433d9161eb7b9819f0d75b1b0ba05258a5cca5b558
MD5 e314f800328ab980fc4ba3adac3477ce
BLAKE2b-256 beea6af07f9f031fcc96eadde0020047040f9997da054e00bafda1ecd8da6370

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