Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ ScopedAcquire
Method
ScopedAcquire
tensorflow/compiler/xla/python/semaphore.cc:69–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
}
68
69
Semaphore::ScopedReservation Semaphore::ScopedAcquire(int64 amount) {
70
Acquire(amount);
71
return ScopedReservation(this, amount);
72
}
73
74
} // namespace xla
Callers
2
ExecuteHelper
Method · 0.80
TEST
Function · 0.80
Calls
1
ScopedReservation
Class · 0.85
Tested by
1
TEST
Function · 0.64