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

Function GetSliceRendezvousKey

tensorflow/core/kernels/slice_sendrecv_utils.cc:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void GetSliceRendezvousKey(const string& key_prefix,
32 const string& tensor_name_suffix,
33 const FrameAndIter& frame_iter, string* key) {
34 key->clear();
35 strings::StrAppend(key, key_prefix, tensor_name_suffix, ";",
36 frame_iter.frame_id, ":", frame_iter.iter_id);
37}
38
39FrameAndIter GetFrameAndIter(OpKernelContext* ctx, bool hostmem_sendrecv) {
40 if (hostmem_sendrecv && ctx->call_frame() != nullptr) {

Callers 15

ComputeMethod · 0.85
SendTotalBytesMethod · 0.85
SendShapeMethod · 0.85
SendStringMethod · 0.85
SendStringSliceMethod · 0.85
SendBasicTypeMethod · 0.85
RecvTotalBytesMethod · 0.85
RecvShapeMethod · 0.85
RecvStringMethod · 0.85
RecvStringSliceMethod · 0.85
RecvBasicTypeMethod · 0.85
ComputeMethod · 0.85

Calls 2

StrAppendFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected