MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / callback

Method callback

tensorflow/python/debug/cli/cli_config_test.py:115–116  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

113
114 test_value = {"graph_recursion_depth": -1}
115 def callback(config):
116 test_value["graph_recursion_depth"] = config.get("graph_recursion_depth")
117 config.set_callback("graph_recursion_depth", callback)
118
119 config.set("graph_recursion_depth", config.get("graph_recursion_depth") - 1)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected