| 40 | }; |
| 41 | |
| 42 | static 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 | |
| 51 | static Graph* Recv() { |
| 52 | Graph* g = new Graph(OpRegistry::Global()); |
no test coverage detected