View source: R/text_line_dataset.R
text_line_dataset | R Documentation |
A dataset comprising lines from one or more text files.
text_line_dataset(
filenames,
compression_type = NULL,
...,
buffer_size = NULL,
num_parallel_reads = NULL,
name = NULL,
record_spec = NULL,
parallel_records = NULL
)
filenames |
String(s) specifying one or more filenames |
compression_type |
A string, one of: |
... |
unused, must be empty. |
buffer_size |
(Optional.) A tf.int64 scalar denoting the number of bytes to buffer. A value of 0 results in the default buffering values chosen based on the compression type. |
num_parallel_reads |
(Optional.) A tf.int64 scalar representing the number of files to read in parallel. If greater than one, the records of files read in parallel are outputted in an interleaved order. If your input pipeline is I/O bottlenecked, consider setting this parameter to a value greater than one to parallelize the I/O. If NULL, files will be read sequentially. |
name |
(Optional.) A name for the tf.data operation. |
record_spec |
(Optional) Specification used to decode delimimted text
lines into records (see |
parallel_records |
(Optional) An integer, representing the number of
records to decode in parallel. If not specified, records will be processed
sequentially. This is only applicable if |
A dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.