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

Method TrackUnique

tensorflow/core/distributed_runtime/recent_request_ids.h:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81template <typename RequestWrapper>
82Status RecentRequestIds::TrackUnique(int64 request_id,
83 const string& method_name,
84 const RequestWrapper* wrapper) {
85 if (Insert(request_id)) {
86 return Status::OK();
87 } else {
88 return errors::Aborted("The same ", method_name,
89 " request was received twice. ",
90 wrapper->ToProto().ShortDebugString());
91 }
92}
93
94} // namespace tensorflow
95

Callers 15

AddRequestMethod · 0.60
GrpcRecvTensorAsyncMethod · 0.60
RecvBufAsyncMethod · 0.60
TrackUniqueFunction · 0.60
BM_TrackUniqueFunction · 0.60
PartialRunSetupMethod · 0.60
RunStepMethod · 0.60
MakeCallableMethod · 0.60
RunCallableMethod · 0.60
DoRunGraphMethod · 0.60
DoPartialRunGraphMethod · 0.60
GrpcRecvTensorAsyncMethod · 0.60

Calls 2

ShortDebugStringMethod · 0.45
ToProtoMethod · 0.45

Tested by 2

TrackUniqueFunction · 0.48
BM_TrackUniqueFunction · 0.48