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

Function TestCase1

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

Test case 1: the input datasets with same number of outputs.

Source from the content-addressed store, hash-verified

88
89// Test case 1: the input datasets with same number of outputs.
90TestParam TestCase1() {
91 return {/*input_range_dataset_params*/
92 {RangeDatasetParam{0, 3, 1}, RangeDatasetParam{10, 13, 1}},
93 /*expected_outputs*/
94 {CreateTensor<int64>(TensorShape{}, {0}),
95 CreateTensor<int64>(TensorShape{}, {10}),
96 CreateTensor<int64>(TensorShape{}, {1}),
97 CreateTensor<int64>(TensorShape{}, {11}),
98 CreateTensor<int64>(TensorShape{}, {2}),
99 CreateTensor<int64>(TensorShape{}, {12})},
100 /*breakpoints*/ {0, 1, 4}};
101}
102
103// Test case 2: the input datasets with different number of outputs.
104TestParam TestCase2() {

Callers 2

TEST_FFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected