tf.contrib.data

 

upper level

 

Modules

 

None

 

Classes

 

SqlDataset:

A Dataset consisting of the results from a SQL query.

Dataset:

Represents a potentially large set of elements.

FixedLengthRecordDataset:

A Dataset of fixed-length records from one or more binary files.

Iterator:

Represents the state of iterating through a Dataset.

TFRecordDataset:

A Dataset comprising records from one or more TFRecord files.

TextLineDataset:

A Dataset comprising lines from one or more text files.

 

Functions

 

Counter(…):

Creates a Dataset of a step-separated count startin from start.

batch_and_drop_remainder(…):

A batching transformation that omits the final small batch (if present).

bucket_by_sequence_length(…):

A transformation that buckets elements in a Dataset by length.

dense_to_sparse_batch(…):

A transformation that batches ragged elements into tf.SparseTensors.

enumerate_dataset(…):

A transformation that enumerate the elements of a dataset.

get_single_element(…):

Returns the single element in dataset as a nested structure of tensors.

group_by_window(…):

A transformation that groups windows of elements by key and reduces them.

ignore_errors(…):

Creates a Dataset from another Dataset and silently ignores any errors.

make_saveable_from_iterator(…):

Returns a SaveableObject for saving/restore iterator state using Saver.

map_and_batch(…):

Fused implementation of map and batch.

padded_batch_and_drop_remainder(…):

A batching and padding transformation that omits the final small batch.

parallel_interleave(…):

A parallel version of the Dataset.interleave() transformation.

read_batch_features(…):

Reads batches of Examples.

rejection_resample(…):

A transformation that resamples a dataset to achieve a target distribution.

scan(…):

A transformation that scans a function across an input dataset.

shuffle_and_repeat(…):

Shuffles and repeats a Dataset returning a new permutation for each epoch.

sloppy_interleave(…):

A non-deterministic version of the Dataset.interleave() transformation. (deprecated)

unbatch(…):

A Transformation which splits the elements of a dataset.