Save the date! Google I/O returns May 18-20 Register now

tf.data.experimental.Reducer

TensorFlow 2 version View source on GitHub

A reducer is used for reducing a set of elements.

A reducer is represented as a tuple of the three functions:

1) initialization function: key => initial state 2) reduce function: (old state, input) => new state 3) finalization function: state => result

finalize_func

init_func

reduce_func