-
Notifications
You must be signed in to change notification settings - Fork 75.3k
tf.strings.substr crashes(aborts) #46900
Copy link
Copy link
Closed
Labels
TF 2.1for tracking issues in 2.1 releasefor tracking issues in 2.1 releaseTF 2.4for issues related to TF 2.4for issues related to TF 2.4comp:opsOPs related issuesOPs related issuesstat:awaiting tensorflowerStatus - Awaiting response from tensorflowerStatus - Awaiting response from tensorflowertype:bugBugBug
Metadata
Metadata
Assignees
Labels
TF 2.1for tracking issues in 2.1 releasefor tracking issues in 2.1 releaseTF 2.4for issues related to TF 2.4for issues related to TF 2.4comp:opsOPs related issuesOPs related issuesstat:awaiting tensorflowerStatus - Awaiting response from tensorflowerStatus - Awaiting response from tensorflowertype:bugBugBug
Type
Fields
Give feedbackNo fields configured for issues without a type.
System information
Describe the current behavior
tf.strings.substrcrashes(aborts) whenlen(pos)>len(input)Describe the expected behavior
expect an exception message if the input unexpected instead of crash.
Standalone code to reproduce the issue
Output: