Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ GetNewId
Method
GetNewId
tensorflow/core/common_runtime/session_state.cc:52–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
}
51
52
int64 SessionState::GetNewId() {
53
mutex_lock l(state_lock_);
54
return tensor_id_++;
55
}
56
57
Status TensorStore::AddTensor(const string& name, const TensorAndKey& tk) {
58
mutex_lock l(lock_);
Callers
1
Compute
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected