layers
Contents
layers#
Spiking#
|
Integrate and Fire neuron layer. |
|
IAF layer with 4-dimensional input (Batch*Time, Channel, Height, Width). |
|
Integrate and Fire neuron layer with recurrent connections. |
|
Leaky Integrate and Fire neuron layer. |
|
LIF layer with 4-dimensional input (Batch*Time, Channel, Height, Width). |
|
Leaky Integrate and Fire neuron layer with recurrent connections. |
|
Leaky Integrator layer. |
|
ExpLeak layer with 4-dimensional input (Batch*Time, Channel, Height, Width). |
|
Adaptive Leaky Integrate and Fire neuron layer. |
|
Adaptive Leaky Integrate and Fire neuron layer with recurrent connections. |
Non-spiking#
|
Leaky Integrator layer. |
|
ExpLeak layer with 4-dimensional input (Batch*Time, Channel, Height, Width). |
Pooling#
|
Torch implementation of SpikingMaxPooling. |
|
Non-spiking sumpooling layer to be used in analogue Torch models. |
Conversion from images / analog signals#
|
Layer to convert images to Spikes |
|
Layer to convert analog Signals to Spikes |
Parent layers#
|
Pytorch implementation of a stateful layer, to be used as base class. |
Utility mixin class that will wrap the __init__ and forward call of other classes. |
Auxiliary#
|
Crop input image by |
Utility layer which always flattens first two dimensions. |
|
|
Utility layer which always unflattens (expands) the first dimension into two separate ones. |
ANN layers#
|
NeuromorphicReLU layer. |
|
Layer that quantizes the input, i.e. returns floor(input). |