Google I/O returns May 18-20! Reserve space and build your schedule Register now

tf.data.experimental.to_variant

TensorFlow 2 version View source on GitHub

Returns a variant representing the given dataset.

dataset A tf.data.Dataset.

A scalar tf.variant tensor representing the given dataset.