Class Substr.Options
java.lang.Object
org.tensorflow.op.strings.Substr.Options
- Enclosing class:
Substr
-
Method Summary
-
Method Details
-
unit
Sets the unit option.- Parameters:
unit- The unit that is used to create the substring. One of:"BYTE"(for defining position and length by bytes) or"UTF8_CHAR"(for the UTF-8 encoded Unicode code points). The default is"BYTE". Results are undefined ifunit=UTF8_CHARand theinputstrings do not contain structurally valid UTF-8.- Returns:
- this Options instance.
-