def __init__(self, p: LSNNParameters = LSNNParameters(), **kwargs): super().__init__( activation=lsnn_feed_forward_step, state_fallback=self.initial_state, p=p, **kwargs, )
def __init__(self, input_size: int, hidden_size: int, p: LSNNParameters = LSNNParameters(), **kwargs): super().__init__( activation=lsnn_step, state_fallback=self.initial_state, input_size=input_size, hidden_size=hidden_size, p=p, **kwargs, )