(self, ids)
return [str(d) for d in decoded_ids]
Transform a sequence of int IDs into a their string versions.

    This method supports transforming individual input/output IDs to their
    string versions so that sequence to/from text conversions can be visualized
    in a human readable format.

    Args:
      ids: list of integers to be converted.

    Returns:
      strs: list of human-readable string.
Transform a sequence of int IDs into a their string versions.
Transform a sequence of int IDs into a their string versions .
def decode_list(self, ids):
    """Transform a sequence of int IDs into a their string versions.

    This method supports transforming individual input/output IDs to their
    string versions so that sequence to/from text conversions can be visualized
    in a human readable format.

    Args:
      ids: list of integers to be converted.

    Returns:
      strs: list of human-readable string.
    """
    decoded_ids = []
    for id_ in ids:
      if 0 <= id_ < self._num_reserved_ids:
        decoded_ids.append(RESERVED_TOKENS[int(id_)])
      else:
        decoded_ids.append(id_ - self._num_reserved_ids)
    return [str(d) for d in decoded_ids]
def decode_list ( self , ids ) : decoded_ids = [ ] for id_ in ids : if 0 <= id_ < self . _num_reserved_ids : decoded_ids . append ( RESERVED_TOKENS [ int ( id_ ) ] ) else : decoded_ids . append ( id_ - self . _num_reserved_ids ) return [ str ( d ) for d in decoded_ids ]