tensorflow/core/kernels/data/cache_dataset_ops_test.cc
// Test case 2: cache empty data in file.
Test case 2: cache empty data in file.
Test case 2 : cache empty data in file .
CacheDatasetParams CacheDatasetParams2() {
  auto tensor_slice_dataset_params = TensorSliceDatasetParams(
      {CreateTensor<int64_t>(TensorShape{0}, {})},
      "tensor_slice");
  return CacheDatasetParams(
      std::move(tensor_slice_dataset_params),
      io::JoinPath(testing::TmpDir(), "cache_data"),
      {DT_INT64},
      {PartialTensorShape({})}, kNodeName);
}
CacheDatasetParams CacheDatasetParams2 ( ) { auto tensor_slice_dataset_params = TensorSliceDatasetParams ( { CreateTensor < int64_t > ( TensorShape { 0 } , { } ) } , " " ) ; return CacheDatasetParams ( std :: move ( tensor_slice_dataset_params ) , io :: JoinPath ( testing :: TmpDir ( ) , " " ) , { DT_INT64 } , { PartialTensorShape ( { } ) } , kNodeName ) ; }
Test case 2: cache empty data in file.
Test case 2 : cache empty data in file .
/*components=*/ /*node_name=*/ /*filename=*/ /*output_dtypes=*/ /*output_shapes=*/