tf.raw_ops.ReaderSerializeStateV2

Produce a string tensor that encodes the state of a Reader.

tf.raw_ops.ReaderSerializeStateV2(
    reader_handle, name=None
)

Not all Readers support being serialized, so this can produce an Unimplemented error.

Args:

  • reader_handle: A Tensor of type resource. Handle to a Reader.
  • name: A name for the operation (optional).

Returns:

A Tensor of type string.