brainstate.nn.not_receive_update_input

brainstate.nn.not_receive_update_input#

brainstate.nn.not_receive_update_input(cls)[source]#

The decorator to mark the object (as the before updates) to not receive the input of the update function.

That is, the bef_update will not receive the input of the update function:

for fun in model.bef_updates:
  fun()
model.update()
Return type:

object