TensorFlow 2.0 RC is available Learn more

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.