Returns a variant representing the given dataset.
Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.data.experimental.to_variant, tf.compat.v2.data.experimental.to_variant
tf.compat.v1.data.experimental.to_variant
tf.compat.v2.data.experimental.to_variant
tf.data.experimental.to_variant( dataset )
dataset
tf.data.Dataset
A scalar tf.variant tensor representing the given dataset.
tf.variant