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