tf.contrib.data.reduce_dataset

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

Defined in tensorflow/contrib/data/python/ops/get_single_element.py.

Returns the result of reducing the dataset using reducer.

Args:

Returns:

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

Raises: