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

Function Send

tensorflow/core/kernels/sendrecv_ops_test.cc:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40};
41
42static Graph* Send() {
43 Graph* g = new Graph(OpRegistry::Global());
44 Tensor in0(DT_FLOAT, TensorShape({0}));
45 test::graph::Send(g, test::graph::Constant(g, in0), "T", "/cpu:0", 1,
46 "/cpu:0");
47 test::graph::Recv(g, "T", "float", "/cpu:0", 1, "/cpu:0");
48 return g;
49}
50
51static Graph* Recv() {
52 Graph* g = new Graph(OpRegistry::Global());

Callers 4

BM_SendFunction · 0.70
FlowControlSendMethod · 0.70
FlowControlSendMethod · 0.70
BM_FeedInputFetchOutputFunction · 0.50

Calls 3

ConstantFunction · 0.70
RecvFunction · 0.70
TensorShapeClass · 0.50

Tested by

no test coverage detected