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

Function TestCase4

tensorflow/core/kernels/data/cache_dataset_ops_test.cc:140–148  ·  view source on GitHub ↗

Test case 4: cache empty data in memory.

Source from the content-addressed store, hash-verified

138
139// Test case 4: cache empty data in memory.
140TestCase TestCase4() {
141 return {/*input_tensors*/ {CreateTensor<int64>(TensorShape{0}, {})},
142 /*file_name*/ "",
143 /*expected_outputs*/ {},
144 /*expected_output_dtypes*/ {DT_INT64},
145 /*expected_output_shapes*/ {PartialTensorShape({})},
146 /*expected_cardinality*/ 0,
147 /*breakpoints*/ {0, 2, 4, 11}};
148}
149
150class ParameterizedCacheDatasetOpTest
151 : public CacheDatasetOpTest,

Callers 1

Calls 1

PartialTensorShapeClass · 0.85

Tested by

no test coverage detected