hxtorch.spiking.modules.hx_module.HXFunctionalModule

class hxtorch.spiking.modules.hx_module.HXFunctionalModule(experiment: Experiment)

Bases: hxtorch.spiking.modules.hx_module.HXTorchFunctionMixin, hxtorch.spiking.modules.hx_module.HXBaseExperimentModule

PyTorch module supplying basic functionality for elements of SNNs that do not have a direct hardware representation

__init__(experiment: Experiment)None
Parameters

experiment – Experiment to append layer to.

Methods

__init__(experiment)

param experiment

Experiment to append layer to.

Attributes

training: bool