MCPcopy
hub / github.com/hyperopt/hyperopt / checkpoint

Method checkpoint

hyperopt/vectorize.py:264–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262 checkpoint_asserts = False
263
264 def checkpoint():
265 if checkpoint_asserts:
266 self.assert_integrity_idxs_take()
267 if node in self.idxs_memo:
268 toposort(self.idxs_memo[node])
269 if node in self.take_memo:
270 for take in self.take_memo[node]:
271 toposort(take)
272
273 checkpoint()
274

Callers

nothing calls this directly

Calls 2

toposortFunction · 0.85

Tested by

no test coverage detected