MCPcopy 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
52int64 SessionState::GetNewId() {
53 mutex_lock l(state_lock_);
54 return tensor_id_++;
55}
56
57Status TensorStore::AddTensor(const string& name, const TensorAndKey& tk) {
58 mutex_lock l(lock_);

Callers 1

ComputeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected