Commit 7a73ce7a authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Revise tf.substr so that it returns an empty string when "pos" argument is...

Revise tf.substr so that it returns an empty string when "pos" argument is equal to the string length.

The updated behavior is consistent with strings::substr()

PiperOrigin-RevId: 175992569
parent 7065160c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment