Exponential Leaky Layer (ExpLeak)#

ExpLeak layer.

ExpLeak neuron dynamics
import torch
from utils import plot_evolution

import sinabs.layers as sl

const_current = torch.ones((1, 100, 1)) * 0.03


exp_leak_neuron = sl.ExpLeak(tau_mem=60.0, record_states=True)
plot_evolution(exp_leak_neuron, const_current)

Total running time of the script: (0 minutes 0.167 seconds)

Gallery generated by Sphinx-Gallery