TensorFlow 2.0 Beta is available Learn more

tf.contrib.data.reduce_dataset

View source on GitHub

Returns the result of reducing the dataset using reducer. (deprecated)

tf.contrib.data.reduce_dataset(
    dataset,
    reducer
)

Args:

Returns:

A nested structure of tf.Tensor objects, corresponding to the result of reducing dataset using reducer.

Raises: