| 160 | } |
| 161 | |
| 162 | Graph* CubeWithTwoMuls(int num) { |
| 163 | Graph* g = new Graph(OpRegistry::Global()); |
| 164 | Tensor lhs(DT_FLOAT, TensorShape({64, 64, num / (64 * 64)})); |
| 165 | lhs.flat<float>().setRandom(); |
| 166 | auto* x = test::graph::Constant(g, lhs); |
| 167 | auto* inner = test::graph::Binary(g, "Mul", x, x); |
| 168 | test::graph::Binary(g, "Mul", x, inner); |
| 169 | return g; |
| 170 | } |
| 171 | |
| 172 | Graph* CubeWithMulSquare(int num) { |
| 173 | Graph* g = new Graph(OpRegistry::Global()); |
nothing calls this directly
no test coverage detected