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:
- Returns:
Dict. The state dict for serialization.