| 24 | namespace tensorflow { |
| 25 | |
| 26 | static string JoinedCopies(const string& s, int copies) { |
| 27 | string res; |
| 28 | for (int i = 0; i < copies; ++i) { |
| 29 | strings::StrAppend(&res, i > 0 ? ";" : "", s); |
| 30 | } |
| 31 | return res; |
| 32 | } |
| 33 | |
| 34 | TEST(RnnOpsTest, GRUBlockCell_ShapeFn) { |
| 35 | ShapeInferenceTestOp op("GRUBlockCell"); |