| 62 | } |
| 63 | |
| 64 | static Node* Random(Graph* g, int n) { |
| 65 | Tensor data(DT_FLOAT, TensorShape({n})); |
| 66 | data.flat<float>().setRandom(); |
| 67 | return test::graph::Constant(g, data); |
| 68 | } |
| 69 | |
| 70 | static Node* Random(Graph* g, int m, int n) { |
| 71 | Tensor data(DT_FLOAT, TensorShape({m, n})); |
no test coverage detected