MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / MapDatasetParams2

Function MapDatasetParams2

tensorflow/core/kernels/data/map_dataset_op_test.cc:127–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127MapDatasetParams 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.

Callers 3

GetNextTestCasesFunction · 0.85
CardinalityTestCasesFunction · 0.85

Calls 2

XAddXFunction · 0.85
PartialTensorShapeClass · 0.85

Tested by

no test coverage detected