I suggest to take a look at:

  
      

      github.com
  

  
    

GitHub - nengo/keras-spiking: Spiking neuron integration for Keras 5


  Spiking neuron integration for Keras. Contribute to nengo/keras-spiking development by creating an account on GitHub.