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

Function TestCase2

tensorflow/core/kernels/data/zip_dataset_op_test.cc:104–115  ·  view source on GitHub ↗

Test case 2: the input datasets with different number of outputs.

Source from the content-addressed store, hash-verified

102
103// Test case 2: the input datasets with different number of outputs.
104TestParam TestCase2() {
105 return {/*input_range_dataset_params*/
106 {RangeDatasetParam{0, 3, 1}, RangeDatasetParam{10, 15, 1}},
107 /*expected_outputs*/
108 {CreateTensor<int64>(TensorShape{}, {0}),
109 CreateTensor<int64>(TensorShape{}, {10}),
110 CreateTensor<int64>(TensorShape{}, {1}),
111 CreateTensor<int64>(TensorShape{}, {11}),
112 CreateTensor<int64>(TensorShape{}, {2}),
113 CreateTensor<int64>(TensorShape{}, {12})},
114 /*breakpoints*/ {0, 1, 4}};
115}
116
117class ParameterizedZipDatasetOpTest
118 : public ZipDatasetOpTest,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected