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

tf.data.experimental.from_variant

TensorFlow 2.0 version View source on GitHub

Constructs a dataset from the given variant and structure.

Aliases:

  • tf.compat.v1.data.experimental.from_variant
  • tf.compat.v2.data.experimental.from_variant
tf.data.experimental.from_variant(
    variant,
    structure
)

Args:

Returns:

A tf.data.Dataset instance.