Save the date! Google I/O returns May 18-20 Register now

Returns the type signature for elements of the input dataset / iterator.

dataset_or_iterator A or an

A nested structure of tf.TypeSpec objects matching the structure of an element of dataset_or_iterator and specifying the type of individual components.

TypeError If input is not a or an object.