superneuromat.SNN.memoize#
- SNN.memoize(*keys)[source]#
Store a copy of model variable(s) to be restored later.
- Parameters:
*args (str | Any) – Save the given variables or variable names.
- Raises:
ValueError – If no variables or variable names are provided, or if the given variables or variable names are disallowed.
See also
Examples
memoize("synaptic_weights") memoize(snn.synaptic_weights)