synsense / sinabs

A deep learning library for spiking neural networks which is based on PyTorch, focuses on fast training and supports inference on neuromorphic hardware.
https://sinabs.readthedocs.io
GNU Affero General Public License v3.0
81 stars 8 forks source link

Add conversion for exodus layers #170

Closed ssinhaleite closed 11 months ago

ssinhaleite commented 11 months ago

TypeError: Convolution must be followed by IAF spiking layer, found <class 'sinabs.exodus.layers.iaf.IAFSqueeze'>

construct_next_dynapcnn_layer in utils.py Line # 336

    if not isinstance(lyr_spk, sl.IAF):
        raise TypeError(
            f"Convolution must be followed by IAF spiking layer, found {type(lyr_spk)}"
        )