hxtorch.spiking.functional.CalibratedCUBALIFParams

class hxtorch.spiking.functional.CalibratedCUBALIFParams(leak: torch.Tensor = 80, reset: torch.Tensor = 80, threshold: torch.Tensor = 125, tau_mem: torch.Tensor = 1e-05, tau_syn: torch.Tensor = 1e-05, i_synin_gm: Union[int, torch.Tensor] = 500, e_coba_reversal: Optional[torch.Tensor] = None, e_coba_reference: Optional[torch.Tensor] = None, membrane_capacitance: torch.Tensor = 63, refractory_time: torch.Tensor = 2e-06, synapse_dac_bias: Union[int, torch.Tensor] = 600, holdoff_time: torch.Tensor = 0, alpha: float = 50.0, method: str = 'superspike')

Bases: hxtorch.spiking.calibrated_params.CalibratedParams

Parameters for CUBA LIF integration and backward path

__init__(leak: torch.Tensor = 80, reset: torch.Tensor = 80, threshold: torch.Tensor = 125, tau_mem: torch.Tensor = 1e-05, tau_syn: torch.Tensor = 1e-05, i_synin_gm: Union[int, torch.Tensor] = 500, e_coba_reversal: Optional[torch.Tensor] = None, e_coba_reference: Optional[torch.Tensor] = None, membrane_capacitance: torch.Tensor = 63, refractory_time: torch.Tensor = 2e-06, synapse_dac_bias: Union[int, torch.Tensor] = 600, holdoff_time: torch.Tensor = 0, alpha: float = 50.0, method: str = 'superspike')None

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([leak, reset, threshold, tau_mem, …])

Initialize self.

Attributes

alpha

method

alpha: float = 50.0
method: str = 'superspike'