TensorFlow 2.0 Beta is available Learn more

tf.data.experimental.from_variant

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
tf.data.experimental.from_variant(
    variant,
    structure
)
View source on GitHub

Args:

Returns:

A tf.data.Dataset instance.