Function Reference
Creating Datasets |
|
---|---|
A dataset comprising lines from one or more text files. |
|
A dataset comprising records from one or more TFRecord files. |
|
A dataset consisting of the results from a SQL query |
|
Creates a dataset with a single element, comprising the given tensors. |
|
Creates a dataset whose elements are slices of the given tensors. |
|
Splits each rank-N |
|
A dataset of fixed-length records from one or more binary files. |
|
A dataset of all files matching a pattern |
|
Creates a dataset of a step-separated range of values. |
|
Read a dataset from a set of files |
|
Specification for reading a record from a text file with delimited values |
|
Transforming Datasets |
|
Map a function across a dataset. |
|
Prepare a dataset for analysis |
|
Creates a dataset that skips count elements from this dataset |
|
Filter a dataset by a predicate |
|
Creates a dataset that includes only 1 / num_shards of this dataset. |
|
Randomly shuffles the elements of this dataset. |
|
Creates a Dataset that prefetches elements from this dataset. |
|
Combines consecutive elements of this dataset into batches. |
|
Repeats a dataset count times. |
|
Caches the elements in this dataset. |
|
Creates a dataset with at most count elements from this dataset |
|
Maps map_func across this dataset and flattens the result. |
|
Combines consecutive elements of this dataset into padded batches |
|
Transform a dataset with delimted text lines into a dataset with named columns |
|
Creates a dataset by concatenating given dataset with this dataset. |
|
Maps map_func across this dataset, and interleaves the results |
|
Creates a dataset by zipping together the given datasets. |
|
Dataset Properites |
|
Output types and shapes |
|
Dataset Iterators |
|
Construct a tfestimators input function from a dataset |
|
|
Creates an iterator for enumerating the elements of this dataset. |
Get next element from iterator |
|
An operation that should be run to initialize this iterator. |
|
String-valued tensor that represents this iterator |
|
Create an operation that can be run to initialize this iterator |
|
Handle out of range errors on dataset iterators |