jaxsnn.event.modules.linear

Classes

Parameter

alias of jax.Array

Projection(generator, int], …)

Event-driven projection module

Functions

jaxsnn.event.modules.linear.Linear(mean: float = 0.5, std: float = 2.0, min_delay: float = 0.0, pre_weights: Optional[jax.Array, None] = None)jaxsnn.event.types.Projection

Creates a Linear projection layer

Either:
  • initialize weights from a Gaussian (mean, std), or

  • provide a concrete weight array.

Parameters
  • mean – Mean of the Gaussian distribution for weight initialization.

  • std – Standard deviation of the Gaussian distribution.

  • min_delay – Minimum delay associated with this projection.

  • pre_weights – Optional weight array. If provided, mean and std are ignored.

Returns

A Projection object containing the generator and parameters.