Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

TensorFlow 1 version View source on GitHub

Returns the type specification of an element of a Dataset or Iterator.

dataset_or_iterator A or

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 dataset_or_iterator is not a Dataset or Iterator object.