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

Method _before_train

tensorpack/callbacks/graph.py:55–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 self._fetch = tf.train.SessionRunArgs(fetches=self._op)
54
55 def _before_train(self):
56 if self.run_before:
57 self._print()
58 self._op.run()
59
60 def _trigger(self):
61 if self.run_as_trigger:

Callers

nothing calls this directly

Calls 2

_printMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected