Project Icon

dm-haiku

Haiku: A Streamlined Neural Network Library for JAX from DeepMind

Product DescriptionHaiku is a compact neural network library for JAX that offers an object-oriented programming approach integrated with JAX function transformations. Created by the developers of Sonnet for TensorFlow, Haiku focuses on efficient parameter and state management without adding extra frameworks. While currently in maintenance mode focused on bug fixes and compatibility, Haiku still offers key features like hk.Module and hk.transform, facilitating the transition from TensorFlow to JAX. It caters to large-scale project requirements and supports the incorporation of stochastic models and non-trainable states, extending to distributed model training through jax.pmap. Well-documented resources and examples assist users in leveraging Haiku effectively.
Project Details