Get the latest tech news

Defining new Jax types with hijax


AX types with hijax# JAX’s built-in currency is the array: functions you transform take arrays in and produce arrays out, and every intermediate the tracing machinery sees has an array type like f32[3,4]. When you want to work with aggregate data, the usual tool is a pytree: you bundle arrays into containers, and JAX transparently flattens the bundle into its array leaves at every boundary.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of JAX

JAX

Photo of hijax

hijax

Photo of new Jax types

new Jax types

Related news:

News photo

TycoonLE: A Jax reinforcement learning environment for long-horizon planning

News photo

Nanocode: The best Claude Code that $200 can buy in pure JAX on TPUs

News photo

Jax's true calling: Ray-Marching renderers on WebGL