Commit 700c3325 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Add "encoding" attribute to string substr op, which controls how each "character" is treated:

  * BYTE: Position & length refer to bytes in the string.  (Default)
  * UTF8: The string is interpreted as UTF-8 encoded Unicode code points, and position & length are treated relative to them.

RELNOTES: Add option to get substring using Unicode characters
PiperOrigin-RevId: 215773373
parent c8d5054e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment