eleanor.jax.surrogate#
Surrogate gradient functions used by the JAX neuron models. Exposed under the
private name today; treat the public symbols (tanh_surrogate,
tau_surr, …) as the stable surface.
- eleanor.jax.surrogate.tanh_surrogate(*args, **kwargs)