tf.data.experimental.make_saveable_from_iterator

Returns a SaveableObject for saving/restoring iterator state using Saver. (deprecated)

iterator Iterator.
external_state_policy A string that identifies how to handle input pipelines that depend on external state. Possible values are 'ignore': The external state is silently ignored. 'warn': The external state is ignored, logging a warning. 'fail': The operation fails upon encountering external state. By default we set it to 'fail'.

A SaveableObject for saving/restoring iterator state using Saver.

</