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

Method _setup_graph

tensorpack/callbacks/base.py:61–67  ·  view source on GitHub ↗

Called before finalizing the graph. Override this method to setup the ops used in the callback. This is the same as ``tf.train.SessionRunHook.begin()``.

(self)

Source from the content-addressed store, hash-verified

59 self._setup_graph()
60
61 def _setup_graph(self):
62 """
63 Called before finalizing the graph.
64 Override this method to setup the ops used in the callback.
65 This is the same as ``tf.train.SessionRunHook.begin()``.
66 """
67 pass
68
69 def before_train(self):
70 self._before_train()

Callers 1

setup_graphMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected