InputGroup#

class brainpy.dyn.InputGroup(size, sharding=None, keep_size=False, mode=None, name=None)[source]#

Input neuron group for place holder.

Parameters:
reset_state(batch_or_mode=None, **kwargs)[source]#

Reset function which resets local states in this model.

Simply speaking, this function should implement the logic of resetting of local variables in this node.

See https://brainpy.readthedocs.io/en/latest/tutorial_toolbox/state_resetting.html for details.

update(x)[source]#

The function to specify the updating rule.