tensorflow/core/kernels/data/text_line_dataset_op_test.cc
// Test case 3: multiple text files without compression.
Test case 3: multiple text files without compression.
Test case 3 : multiple text files without compression .
TextLineDatasetParams TextLineDatasetParams3() {
  std::vector<tstring> filenames = {LocalTempFilename(), LocalTempFilename()};
  std::vector<tstring> contents = {
      absl::StrCat("hello world\n", "11223334455\n"),
      absl::StrCat("abcd, EFgH\n", "           \n", "$%^&*()\n")};
  CompressionType compression_type = CompressionType::UNCOMPRESSED;
  if (!CreateTestFiles(filenames, contents, compression_type).ok()) {
    VLOG(WARNING) << "Failed to create the test files: "
                  << absl::StrJoin(filenames, ", ");
  }
  return TextLineDatasetParams(filenames,
                               compression_type,
                               10,
                               kNodeName);
}
TextLineDatasetParams TextLineDatasetParams3 ( ) { std :: vector < tstring > filenames = { LocalTempFilename ( ) , LocalTempFilename ( ) } ; std :: vector < tstring > contents = { absl :: StrCat ( " \n " , " \n " ) , absl :: StrCat ( " \n " , " \n " , " \n " ) } ; CompressionType compression_type = CompressionType :: UNCOMPRESSED ; if ( ! CreateTestFiles ( filenames , contents , compression_type ) . ok ( ) ) { VLOG ( WARNING ) << " " << absl :: StrJoin ( filenames , " " ) ; } return TextLineDatasetParams ( filenames , compression_type , 10 , kNodeName ) ; }
Test case 3: multiple text files without compression.
Test case 3 : multiple text files without compression .
/*compression_type=*/ /*buffer_size=*/ /*node_name=*/