hxtorch.spiking.modules.synapse.SynapseHandle

class hxtorch.spiking.modules.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

graded_spikes

property graded_spikes