save_state

Contents

save_state#

class brainpy.save_state(target, **kwargs)[source]#

Save all states in the target as a dictionary for later disk serialization.

Parameters:

target (DynamicalSystem) – DynamicalSystem. The node to save its states.

Return type:

Dict

Returns:

Dict. The state dict for serialization.