Skip to content

Release 0.3.0

Latest
Compare
Choose a tag to compare
@drasmuss drasmuss released this 10 Nov 13:48

Added

  • LowpassCell, Lowpass, AlphaCell, and Alpha layers now accept both initial_level_constraint and tau_constraint to customize how their respective parameters are constrained during training. (#21)

Changed

  • The tau time constants for LowpassCell, Lowpass, AlphaCell, and Alpha are now always clipped to be positive in the forward pass rather than constraining the underlying trainable weights in between gradient updates. (#21)
  • Renamed the Lowpass/Alpha tau parameter to tau_initializer, and it now accepts tf.keras.initializers.Initializer objects (in addition to floats, as before). Renamed the tau_var weight attribute to tau. (#21)

Fixed

  • SpikingActivation, Lowpass, and Alpha layers will now correctly use keras_spiking.default.dt. (#20)