| 32 | } |
| 33 | |
| 34 | TEST(RnnOpsTest, GRUBlockCell_ShapeFn) { |
| 35 | ShapeInferenceTestOp op("GRUBlockCell"); |
| 36 | |
| 37 | // Rank checks. |
| 38 | INFER_ERROR("must be rank 2", op, "[?];?;?;?;?;?"); |
| 39 | INFER_ERROR("must be rank 2", op, "?;[?];?;?;?;?"); |
| 40 | |
| 41 | // Output |
| 42 | INFER_OK(op, "?;?;?;?;?;?", "[?,?];[?,?];[?,?];[?,?]"); |
| 43 | INFER_OK(op, "[?,?];[?,?];?;?;?;?", |
| 44 | "[d0_0,d1_1];[d0_0,d1_1];[d0_0,d1_1];[d0_0,d1_1]"); |
| 45 | } |
| 46 | |
| 47 | TEST(RnnOpsTest, GRUBlockCellGrad_ShapeFn) { |
| 48 | ShapeInferenceTestOp op("GRUBlockCellGrad"); |
nothing calls this directly
no test coverage detected