Dataset that wraps the application of the batch
op.
Dataset that wraps the application of the batch
op.
$OpDocDatasetBatch
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Batch size to use.
Name for this dataset.
Dataset that wraps the application of the cache
op.
Dataset that wraps the application of the cache
op.
$OpDocDatasetCache
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Directory to use for caching. If empty, then the provided dataset will be cached in memory.
Name for this dataset.
Dataset that wraps the application of the concatenate
op.
Dataset that wraps the application of the concatenate
op.
$OpDocDatasetConcatenate
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
First input dataset.
Second input dataset.
Name for this dataset.
IllegalArgumentException
If the data types of the input datasets are not identical of if their shapes are
not compatible.
Data can be emitted by Datasets (i.e., the element types of all Datasets are Data).
Data can be emitted by Datasets (i.e., the element types of all Datasets are Data).
Currently supported data types are:
s,
Lists, etc.).
Seq(data1, Seq(data1, data2))
).Seq(List(data1), List(data1, data2))
is supported,
Seq(Seq(data1), List(data1, data2))
is not.This trait guarantees that the output data types and shapes of a Dataset will match the structure of the
corresponding data. For example, if a Seq(List(data1), List(data1, data2))
is provided as a Dataset element
type, then the dataset output data types will have the following structure Seq(List(type1), List(type1, type2))
,
and similarly for the output shapes.
Represents a potentially large set of elements.
Represents a potentially large set of elements.
A dataset can be used to represent an input pipeline as a collection of elements (i.e., nested structures of tensors) and a "logical plan" of transformations that act on those elements.
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Dataset that wraps the application of the drop
op.
Dataset that wraps the application of the drop
op.
$OpDocDatasetDrop
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Number of elements to drop.
Name for this dataset.
Dataset that wraps the application of the drop
op.
Dataset that wraps the application of the drop
op.
$OpDocDatasetDrop
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Number of elements to drop.
Name for this dataset.
Dataset that wraps the application of the paddedBatch
op.
Dataset that wraps the application of the paddedBatch
op.
$OpDocDatasetPaddedBatch
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Batch size to use.
Shape to which the respective component of each input element should be padded prior to
batching. Any unknown dimensions (e.g., equal to -1
) will be padded to the maximum size of
that dimension in each batch.
Scalar tensor structure representing the padding values to use for the respective components. Defaults to zero for numeric types and the empty string for string types.
Name for this dataset.
Dataset with elements read from TensorFlow record files.
Dataset that wraps the application of the take
op.
Dataset that wraps the application of the take
op.
$OpDocDatasetTake
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Number of elements to take.
Name for this dataset.
Dataset with elements read from text files (each line in each file corresponds to an element).
Dataset with elements read from text files (each line in each file corresponds to an element).
**Note:** New-line characters are stripped from the output.
Scalar or vector tensor containing the the name(s) of the file(s) to be read.
Compression type for the file.
Number of bytes to buffer while reading from the file.
Name for this dataset.
Dataset that wraps the application of the filter
op.
Dataset that wraps the application of the filter
op.
$OpDocDatasetFilter
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Filter predicate function.
Name for this dataset.
Dataset with elements read from binary files.
Dataset with elements read from binary files.
Scalar or vector tensor containing the the name(s) of the file(s) to be read.
Number of bytes in the record.
Number of bytes in the header (i.e., the number of bytes to skip at the beginning of a file).
Number of bytes in the footer (i.e., the number of bytes to skip at the end of a file).
Number of bytes to buffer while reading from the file.
Name for this dataset.
Dataset that wraps the application of the flatMap
op.
Dataset that wraps the application of the flatMap
op.
$OpDocDatasetFlatMap
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Mapping function.
Name for this dataset.
$OpDocDatasetGroupByWindow
$OpDocDatasetGroupByWindow
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Function used to compute the grouping key.
Function used to reduce each group.
Function used to compute the maximum window size per key.
Name for this dataset.
Dataset that wraps the application of the ignoreErrors
op.
Dataset that wraps the application of the ignoreErrors
op.
$OpDocDatasetIgnoreErrors
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
An iterator that contains an initializer.
An iterator that contains an initializer.
An iterator represents the state of iterating through a dataset.
Dataset that wraps the application of the interleave
op.
Dataset that wraps the application of the interleave
op.
$OpDocDatasetInterleave
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Mapping function.
Number of elements from the input dataset that will be processed concurrently.
Number of consecutive elements to produce from each input element before cycling to another input element.
Name for this dataset.
A simple iterator that does contains an initializer and can thus not be used until an initializer is created for
it, using its createInitializer
method.
A simple iterator that does contains an initializer and can thus not be used until an initializer is created for
it, using its createInitializer
method.
An iterator represents the state of iterating through a dataset.
Dataset that wraps the application of the map
op.
Dataset that wraps the application of the map
op.
$OpDocDatasetMap
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Mapping function.
Name for this dataset.
Dataset with a single element.
Dataset with a single element.
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Data representing the single element of this dataset.
Name for this dataset.
Dataset with slices from the nested structure of Outputs (i.e., a Data-supported type).
Dataset with slices from the nested structure of Outputs (i.e., a Data-supported type). The slices are taken along the first axis of each Output in the nested structure.
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Data representing the elements of this dataset.
Name for this dataset.
Dataset that wraps the application of the paddedBatch
op.
Dataset that wraps the application of the paddedBatch
op.
$OpDocDatasetPaddedBatch
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Batch size to use.
Shape to which the respective component of each input element should be padded prior to
batching. Any unknown dimensions (e.g., equal to -1
) will be padded to the maximum size of
that dimension in each batch.
Scalar tensor structure representing the padding values to use for the respective components. Defaults to zero for numeric types and the empty string for string types.
Name for this dataset.
Dataset that wraps the application of the parallelInterleave
op.
Dataset that wraps the application of the parallelInterleave
op.
$OpDocDatasetParallelInterleave
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Mapping function.
Number of elements from the input dataset that will be processed concurrently.
Number of consecutive elements to produce from each input element before cycling to another input element.
If false
, elements are produced in deterministic order. Otherwise, the
implementation is allowed, for the sake of expediency, to produce elements in a
non-deterministic order.
Number of elements each iterator being interleaved should buffer (similar to the
prefetch(...)
transformation for each interleaved iterator).
Number of input elements to transform to iterators before they are needed for interleaving.
Name for this dataset.
Dataset that wraps the application of the parallelMap
op.
Dataset that wraps the application of the parallelMap
op.
$OpDocDatasetMap
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Mapping function.
Number of concurrent invocations of function
that process elements from inputDataset
in
parallel.
Name for this dataset.
Dataset that wraps the application of the prefetch
op.
Dataset that wraps the application of the prefetch
op.
$OpDocDatasetPrefetch
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Number of elements to prefetch.
Name for this dataset.
Dataset that wraps the application of the range
op.
Dataset that wraps the application of the range
op.
$OpDocDatasetRange
Starting value of the number sequence.
Ending value (exclusive) of the number sequence.
Difference between consecutive numbers in the sequence.
Name for this dataset.
Dataset that wraps the application of the repeat
op.
Dataset that wraps the application of the repeat
op.
$OpDocDatasetRepeat
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Number of times to repeat the input dataset. A value of -1
corresponds to repeating it
indefinitely.
Name for this dataset.
Dataset that wraps the application of the shuffle
op.
Dataset that wraps the application of the shuffle
op.
$OpDocDatasetShuffle
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Buffer size, meaning the number of output elements to buffer in an iterator over this dataset.
Seed value for the random number generator. If not provided, a random seed is used.
Name for this dataset.
Dataset that splits a sparse tensor into its rows.
Dataset that splits a sparse tensor into its rows.
Sparse tensor.
Name for this dataset.
Dataset that splits a sparse tensor into its rows.
Dataset that splits a sparse tensor into its rows.
Sparse tensor.
Name for this dataset.
Dataset with elements read from TensorFlow record files.
Dataset that wraps the application of the take
op.
Dataset that wraps the application of the take
op.
$OpDocDatasetTake
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input dataset.
Number of elements to take.
Name for this dataset.
Dataset with a single element.
Dataset with a single element.
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Data representing the single element of this dataset.
Name for this dataset.
Dataset with slices from the nested structure of Tensors (i.e., a Data-supported type).
Dataset with slices from the nested structure of Tensors (i.e., a Data-supported type). The slices are taken along the first axis of each Tensor in the nested structure.
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Data representing the elements of this dataset.
Name for this dataset.
Dataset with elements read from text files (each line in each file corresponds to an element).
Dataset with elements read from text files (each line in each file corresponds to an element).
**Note:** New-line characters are stripped from the output.
Scalar or vector tensor containing the the name(s) of the file(s) to be read.
Compression type for the file.
Number of bytes to buffer while reading from the file.
Name for this dataset.
Dataset that wraps the application of the zip3
op.
Dataset that wraps the application of the zip3
op.
$OpDocDatasetZip
First tensor type (i.e., nested structure of tensors).
First output type (i.e., nested structure of symbolic tensors).
First data type of the outputs (i.e., nested structure of TensorFlow data types).
First shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Second tensor type (i.e., nested structure of tensors).
Second output type (i.e., nested structure of symbolic tensors).
Second data type of the outputs (i.e., nested structure of TensorFlow data types).
Second shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Third tensor type (i.e., nested structure of tensors).
Third output type (i.e., nested structure of symbolic tensors).
Third data type of the outputs (i.e., nested structure of TensorFlow data types).
Third shape type of the outputs (i.e., nested structure of TensorFlow shapes).
First input dataset.
Second input dataset.
Third input dataset.
Name for this dataset.
Dataset that wraps the application of the zip
op.
Dataset that wraps the application of the zip
op.
$OpDocDatasetZip
First tensor type (i.e., nested structure of tensors).
First output type (i.e., nested structure of symbolic tensors).
First data type of the outputs (i.e., nested structure of TensorFlow data types).
First shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Second tensor type (i.e., nested structure of tensors).
Second output type (i.e., nested structure of symbolic tensors).
Second data type of the outputs (i.e., nested structure of TensorFlow data types).
Second shape type of the outputs (i.e., nested structure of TensorFlow shapes).
First input dataset.
Second input dataset.
Name for this dataset.
Dataset that wraps the application of the zipMultiple
op.
Dataset that wraps the application of the zipMultiple
op.
$OpDocDatasetZip
Tensor type (i.e., nested structure of tensors).
Output type (i.e., nested structure of symbolic tensors).
Data type of the outputs (i.e., nested structure of TensorFlow data types).
Shape type of the outputs (i.e., nested structure of TensorFlow shapes).
Input datasets.
Name for this dataset.
Contains helper functions for creating iterator-related ops, as well as the iterator API trait.