Learn Before
Concept
JAX Array Immutability
Arrays in JAX are strictly immutable, meaning their elements cannot be modified in-place via direct assignment. Instead, JAX provides index update operators, such as .at[].set(), which perform the requested modifications by creating and returning a completely new array populated with the updated values.
0
1
Updated 2026-05-01
Tags
D2L
Dive into Deep Learning @ D2L