View source on GitHub
|
Constructs a dataset from the given variant and structure.
tf.data.experimental.from_variant(
variant, structure
)
variant: A scalar tf.variant tensor representing a dataset.structure: A tf.data.experimental.Structure object representing the
structure of each element in the dataset.A tf.data.Dataset instance.