static_field¶ jaxrens.state.walker.static_field(**kwargs)[source]¶ Mark a dataclass field as static (compile-time constant). Static fields are not part of the pytree leaves – they are stored in the pytree auxiliary data. Changing a static field triggers recompilation. Parameters: kwargs (Any) Return type: Any