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

Method DebugString

tensorflow/core/common_runtime/ring_alg.cc:369–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369string RingAlg::RingField::DebugString() const {
370 string rv = strings::StrCat("RingField rank=", rank, " chunk_idx=", chunk_idx,
371 " subdiv=", subdiv_idx, " sc_idx=", sc_idx,
372 " action=", action);
373 strings::StrAppend(&rv, " pass=", second_pass);
374 strings::StrAppend(&rv, " do_send=", do_send, " do_recv=", do_recv,
375 " is_final=", is_final, " recv_is_remote=", recv_is_remote,
376 " recv_dev_idx=", recv_dev_idx, " sc_idx=", sc_idx);
377 return rv;
378}
379
380void RingAlg::DispatchSend(RingField* rf, const StatusCallback& done) {
381 DCHECK(rf->do_send);

Callers 15

DeviceInstanceMethod · 0.45
AddNodeToConstantGraphFunction · 0.45
NewSessionMethod · 0.45
NewSessionGroupMethod · 0.45
InitRingFieldMethod · 0.45
AdvanceToSecondPassMethod · 0.45
FieldStateMethod · 0.45
ConstantPartialShapeMethod · 0.45
DeviceInstanceMethod · 0.45
DumpMemoryLogMethod · 0.45
DumpIterationStateMethod · 0.45
DumpPendingNodeStateFunction · 0.45

Calls 2

StrCatFunction · 0.50
StrAppendFunction · 0.50

Tested by 12

DeviceInstanceMethod · 0.36
DeviceInstanceMethod · 0.36
TEST_FFunction · 0.36
PrintShapesMethod · 0.36
TestStridedSliceMethod · 0.36
TEST_FFunction · 0.36
GetFunctionDefAndAttrsFunction · 0.36
AddInputIdentityFunction · 0.36
AddOutputIdentitiesFunction · 0.36
ComputeMethod · 0.36
ComputeMethod · 0.36