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

Method _setup_graph

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

Source from the content-addressed store, hash-verified

48 self.verbose = verbose
49
50 def _setup_graph(self):
51 self._op = self.setup_func()
52 if self.run_step:
53 self._fetch = tf.train.SessionRunArgs(fetches=self._op)
54
55 def _before_train(self):
56 if self.run_before:

Callers 4

__init__Method · 0.45
_initialize_sessionMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected