hxtorch.spiking.parameter.ModelParameter
-
class
hxtorch.spiking.parameter.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
-
property
hardware_value
-