|  View source on GitHub | 
Splits each string in input into a sequence of Unicode code points.
tf.strings.unicode_split(
    input,
    input_encoding,
    errors='replace',
    replacement_char=65533,
    name=None
)
result[i1...iN, j] is the substring of input[i1...iN] that encodes its
jth character, when decoded using input_encoding.
| Returns | |
|---|---|
| A N+1dimensionalint32tensor with shape[D1...DN, (num_chars)].
The returned tensor is atf.Tensorifinputis a scalar, or atf.RaggedTensorotherwise. | 
Example:
input = [s.encode('utf8') for s in (u'G\xf6\xf6dnight', u'\U0001f60a')]tf.strings.unicode_split(input, 'UTF-8').to_list()[[b'G', b'\xc3\xb6', b'\xc3\xb6', b'd', b'n', b'i', b'g', b'h', b't'],[b'\xf0\x9f\x98\x8a']]