Substr.Options
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
상속된 메서드
java.lang.Object 클래스에서 부울 | 같음 (개체 arg0) |
마지막 수업<?> | getClass () |
정수 | 해시 코드 () |
최종 무효 | 알림 () |
최종 무효 | 통지모두 () |
끈 | toString () |
최종 무효 | 대기 (long arg0, int arg1) |
최종 무효 | 기다리세요 (긴 arg0) |
최종 무효 | 기다리다 () |
공개 방법
매개변수
단위 | 하위 문자열을 생성하는 데 사용되는 단위입니다. `"BYTE"`(위치와 길이를 바이트로 정의하는 경우) 또는 `"UTF8_CHAR"`(UTF-8로 인코딩된 유니코드 코드 포인트의 경우) 중 하나입니다. 기본값은 `"BYTE"`입니다. `unit=UTF8_CHAR` 및 `input` 문자열에 구조적으로 유효한 UTF-8이 포함되어 있지 않으면 결과가 정의되지 않습니다. |
---|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],[],null,["# Substr.Options\n\npublic static class **Substr.Options** \nOptional attributes for [Substr](/jvm/api_docs/java/org/tensorflow/op/strings/Substr) \n\n### Public Methods\n\n|-------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [Substr.Options](/jvm/api_docs/java/org/tensorflow/op/strings/Substr.Options) | [unit](/jvm/api_docs/java/org/tensorflow/op/strings/Substr.Options#unit(java.lang.String))(String unit) |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [Substr.Options](/jvm/api_docs/java/org/tensorflow/op/strings/Substr.Options)\n**unit**\n(String unit)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| 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 if \\`unit=UTF8_CHAR\\` and the \\`input\\` strings do not contain structurally valid UTF-8. |\n|------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]