Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.data.experimental.to_variant

TensorFlow 2.0 version View source on GitHub

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(dataset)

Args:

Returns:

A scalar tf.variant tensor representing the given dataset.