Can we define a block without neurons? #81
-
In deep SNNs, we may use the structure like 'Conv-Neuron-Pool-Conv-Neuron'. In such a case, we use the pooling layer without spiking neurons. But I find that in lava.lib.dl.slayer.block.cuba.Pool, we also need to include the spiking neurons in pooling layer. So, my question is can we define a block without neurons? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
slayer.block
is a convenient method that combines synapses and neurons. Typically in neuromorphic hardware, you need to have neurons. That is why the block interface provides both neuron and synapse combined. However, if you need only the synapse, you can directly callslayer.synapse.Pool
and it should work.