MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / _after_train

Method _after_train

tensorpack/callbacks/group.py:74–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 cb.before_train()
73
74 def _after_train(self):
75 for cb in self.cbs:
76 # make sure callbacks are properly finalized
77 try:
78 cb.after_train()
79 except Exception:
80 traceback.print_exc()
81
82 def get_hooks(self):
83 return [CallbackToHook(cb) for cb in self.cbs]

Callers

nothing calls this directly

Calls 1

after_trainMethod · 0.80

Tested by

no test coverage detected