tf.raw_ops.SerializeIterator

Converts the given resource_handle representing an iterator to a variant tensor.

Args
resource_handle A Tensor of type resource. A handle to an iterator resource.
external_state_policy An optional int. Defaults to 0.
name A name for the operation (optional).
Returns
A Tensor of type variant.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/SerializeIterator