superneuromat.SNN.restore#
- SNN.restore(*args)[source]#
Restore model variables to their memoized states.
- Parameters:
*args (str | Any) – If provided, only restore the given variables or variable names.
- Raises:
ValueError – If the given variables or variable names are disallowed.
See also
Examples
restore("synaptic_weights") restore(snn.synaptic_weights) restore() # restore all memoized variables