hxtorch.spiking.parameter.TrainableModelParameter

class hxtorch.spiking.parameter.TrainableModelParameter(model_value: Any, set_on_hw_func: Callable = None)

Bases: hxtorch.spiking.parameter.TrainableParameterMixin, hxtorch.core.parameter.ModelParameter

__init__(model_value: Any, set_on_hw_func: Callable = None)

Initialize internal Module state, shared by both nn.Module and ScriptModule.

Methods

__init__(model_value[, set_on_hw_func])

Initialize internal Module state, shared by both nn.Module and ScriptModule.

Attributes