![]() |
Constructs a dataset from the given variant and structure.
Aliases:
tf.data.experimental.from_variant(
variant,
structure
)
Args:
variant
: A scalartf.variant
tensor representing a dataset.structure
: Atf.data.experimental.Structure
object representing the structure of each element in the dataset.
Returns:
A tf.data.Dataset
instance.