TensorFlow 2.0 Beta is available Learn more

tf.data.experimental.to_variant

Returns a variant representing the given dataset.

Aliases:

  • tf.compat.v1.data.experimental.to_variant
  • tf.compat.v2.data.experimental.to_variant
  • tf.data.experimental.to_variant
tf.data.experimental.to_variant(dataset)
View source on GitHub

Args:

Returns:

A scalar tf.variant tensor representing the given dataset.