| 125 | } |
| 126 | |
| 127 | MapDatasetParams MapDatasetParams2() { |
| 128 | return {{/*start=*/10, /*stop=*/0, /*step=*/-3}, |
| 129 | /*other_arguments=*/{}, |
| 130 | /*func=*/ |
| 131 | FunctionDefHelper::FunctionRef("XAddX", {{"T", DT_INT64}}), |
| 132 | /*func_lib=*/{test::function::XAddX()}, |
| 133 | /*type_arguments=*/{}, |
| 134 | /*output_dtypes=*/{DT_INT64}, |
| 135 | /*output_shapes=*/{PartialTensorShape({})}, |
| 136 | /*use_inter_op_parallelism=*/true, |
| 137 | /*preserve_cardinality=*/false, |
| 138 | /*node_name=*/kNodeName}; |
| 139 | } |
| 140 | |
| 141 | // In this test case, the function `XTimesFour()` will call `XTimesTwo()`, so |
| 142 | // both of them are added to the function library. |
no test coverage detected