hxtorch.spiking.functional.eventprop

Classes

EventPropNeuron(*args, **kwargs)

Define gradient using adjoint code (EventProp) from norse

EventPropSynapse(*args, **kwargs)

Synapse function for proper gradient transport when using EventPropNeuron.

NamedTuple(typename[, fields])

Typed version of namedtuple.

Functions

hxtorch.spiking.functional.eventprop.eventprop_neuron(input: torch.Tensor, params: NamedTuple, dt: float, hw_data: Optional[torch.Tensor])Tuple[torch.Tensor]
hxtorch.spiking.functional.eventprop.eventprop_synapse(input: torch.Tensor, weight: torch.Tensor, _: Optional[torch.Tensor] = None)torch.Tensor