Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ AddErrorCallback
Method
AddErrorCallback
tensorflow/cc/training/queue_runner.cc:36–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
}
35
36
void QueueRunner::AddErrorCallback(const std::function<void(Status)>& cb) {
37
mutex_lock l(cb_mu_);
38
callbacks_.push_back(cb);
39
}
40
41
void QueueRunner::ClearErrorCallbacks() {
42
mutex_lock l(cb_mu_);
Callers
1
TEST
Function · 0.80
Calls
1
push_back
Method · 0.45
Tested by
1
TEST
Function · 0.64