| 45 | } |
| 46 | |
| 47 | Graph* RandomNormal(int64 n) { |
| 48 | Graph* g = new Graph(OpRegistry::Global()); |
| 49 | test::graph::RandomGaussian(g, test::graph::Constant(g, VecShape(n)), |
| 50 | DT_FLOAT); |
| 51 | return g; |
| 52 | } |
| 53 | |
| 54 | Graph* TruncatedNormal(int64 n) { |
| 55 | Graph* g = new Graph(OpRegistry::Global()); |
no test coverage detected