hxtorch.spiking.MixedHXModelParameter
-
class
hxtorch.spiking.
MixedHXModelParameter
(model_value: Union[torch.Tensor, float, int], hardware_value: Union[torch.Tensor, float, int]) Bases:
hxtorch.spiking.parameter.HXBaseParameter
-
__init__
(model_value: Union[torch.Tensor, float, int], hardware_value: Union[torch.Tensor, float, int]) Initialize internal Module state, shared by both nn.Module and ScriptModule.
Methods
__init__
(model_value, hardware_value)Initialize internal Module state, shared by both nn.Module and ScriptModule.
Attributes
-