hxtorch.spiking.ModelParameter

class hxtorch.spiking.ModelParameter(model_value: Union[torch.Tensor, float, int])

Bases: hxtorch.spiking.parameter.HXBaseParameter

__init__(model_value: Union[torch.Tensor, float, int])

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

Methods

__init__(model_value)

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

Attributes

hardware_value

property hardware_value