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

Method _before_run

tensorpack/callbacks/base.py:288–289  ·  view source on GitHub ↗
(self, ctx)

Source from the content-addressed store, hash-verified

286 self.cb.after_epoch()
287
288 def _before_run(self, ctx):
289 return self.cb._before_run(ctx)
290
291 def _after_run(self, ctx, run_values):
292 self.cb._after_run(ctx, run_values)

Callers

nothing calls this directly

Calls 1

_before_runMethod · 0.45

Tested by

no test coverage detected