hxtorch.spiking.modules.sparse_synapse.SynapseHandle
-
class
hxtorch.spiking.modules.sparse_synapse.
SynapseHandle
(graded_spikes: Optional[torch.Tensor] = None) Bases:
hxtorch.spiking.handle.TensorHandle
Specialization for HX synapses
-
__init__
(graded_spikes: Optional[torch.Tensor] = None) → None Instantiate a synapse handle able to hold a graded spikes tensors as input to neurons.
- Parameters
graded_spikes – Optional tensor holding graded spikes.
Methods
__init__
([graded_spikes])Instantiate a synapse handle able to hold a graded spikes tensors as input to neurons.
Attributes
-
property
graded_spikes
-