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

Method RegisterCallback

tensorflow/core/debug/debug_callback_registry.cc:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void DebugCallbackRegistry::RegisterCallback(const string& key,
32 EventCallback callback) {
33 mutex_lock lock(mu_);
34 keyed_callback_[key] = std::move(callback);
35}
36
37DebugCallbackRegistry::EventCallback* DebugCallbackRegistry::GetCallback(
38 const string& key) {

Callers 6

TEST_FFunction · 0.45
StartMethod · 0.45
RegisterCallMethod · 0.45
DoRunGraphMethod · 0.45
DoPartialRunGraphMethod · 0.45
RunPartitionsHelperMethod · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36