metawards.utils.reset_everything

metawards.utils.reset_everything(network: Network, profiler: Profiler, nthreads: int = 1)

Reset everything in the passed network so that it can be used for a new model run

Parameters:
  • network (Network) – The network to be reset
  • nthreads (int) – Number of threads to use during the reset
  • profiler (Profiler) – Profiler used to profile the reset