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

Function Key

tensorflow/core/common_runtime/executor_test.cc:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140static uint64 kIncarnation = 1; // Uses in following tests.
141
142Rendezvous::ParsedKey Key(const string& sender, const uint64 incarnation,
143 const string& receiver, const string& name) {
144 Rendezvous::ParsedKey result;
145 CHECK(
146 Rendezvous::ParseKey(Rendezvous::CreateKey(sender, incarnation, receiver,
147 name, FrameAndIter(0, 0)),
148 &result)
149 .ok());
150 return result;
151}
152
153#define ALICE "/job:j/replica:0/task:0/cpu:0"
154#define BOB "/job:j/replica:0/task:0/device:GPU:0"

Callers 1

TEST_FFunction · 0.70

Calls 2

FrameAndIterClass · 0.85
okMethod · 0.45

Tested by

no test coverage detected