description: Returns the type signature for elements of the input dataset / iterator.
tf.data.experimental.get_structure
Returns the type signature for elements of the input dataset / iterator.
View aliases
Compat aliases for migration
See
Migration guide for
more details.
tf.compat.v1.data.experimental.get_structure
tf.data.experimental.get_structure(
dataset_or_iterator
)
Returns |
A nested structure of tf.TypeSpec objects matching the structure of an
element of dataset_or_iterator and specifying the type of individual
components.
|