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

Function MapDatasetParams1

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

Source from the content-addressed store, hash-verified

111};
112
113MapDatasetParams MapDatasetParams1() {
114 return {{/*start=*/0, /*stop=*/10, /*step=*/3},
115 /*other_arguments=*/{},
116 /*func=*/
117 FunctionDefHelper::FunctionRef("XTimesTwo", {{"T", DT_INT64}}),
118 /*func_lib=*/{test::function::XTimesTwo()},
119 /*type_arguments=*/{},
120 /*output_dtypes=*/{DT_INT64},
121 /*output_shapes=*/{PartialTensorShape({})},
122 /*use_inter_op_parallelism=*/true,
123 /*preserve_cardinality=*/true,
124 /*node_name=*/kNodeName};
125}
126
127MapDatasetParams MapDatasetParams2() {
128 return {{/*start=*/10, /*stop=*/0, /*step=*/-3},

Callers 5

GetNextTestCasesFunction · 0.85
DatasetNodeNameTestCasesFunction · 0.85
TEST_FFunction · 0.85
CardinalityTestCasesFunction · 0.85

Calls 2

XTimesTwoFunction · 0.85
PartialTensorShapeClass · 0.85

Tested by

no test coverage detected