Test case 8: size=2, shift=2, stride=8, drop_remainder=true.
| 207 | |
| 208 | // Test case 8: size=2, shift=2, stride=8, drop_remainder=true. |
| 209 | TestCase TestCase8() { |
| 210 | return {/*range_data_param*/ {0, 7, 1}, |
| 211 | /*size*/ CreateTensor<int64>(TensorShape({}), {2}), |
| 212 | /*shift*/ CreateTensor<int64>(TensorShape({}), {2}), |
| 213 | /*stride*/ CreateTensor<int64>(TensorShape({}), {8}), |
| 214 | /*drop_remainder*/ |
| 215 | CreateTensor<bool>(TensorShape({}), {true}), |
| 216 | /*expected_outputs*/ {}, |
| 217 | /*expected_output_dtypes*/ {DT_VARIANT}, |
| 218 | /*expected_output_shapes*/ {PartialTensorShape({})}, |
| 219 | /*expected_cardinality*/ 0, |
| 220 | /*breakpoints*/ {0, 1, 9}}; |
| 221 | } |
| 222 | |
| 223 | // Test case 9: size=4, shift=2, stride=2, drop_remainder=true. |
| 224 | TestCase TestCase9() { |
no test coverage detected