تينسورفلو :: العمليات :: Substr :: أترس
#include <string_ops.h>
محددات السمات الاختيارية لـ Substr .
ملخص
السمات العامة | |
---|---|
unit_ = "BYTE" | StringPiece |
الوظائف العامة | |
---|---|
Unit (StringPiece x) | TF_MUST_USE_RESULT Attrs الوحدة المستخدمة لإنشاء السلسلة الفرعية. |
السمات العامة
وحدة_
StringPiece tensorflow::ops::Substr::Attrs::unit_ = "BYTE"
الوظائف العامة
وحدة
TF_MUST_USE_RESULT Attrs tensorflow::ops::Substr::Attrs::Unit( StringPiece x )
الوحدة المستخدمة لإنشاء السلسلة الفرعية.
أحد: "BYTE"
(لتحديد الموضع والطول بالبايت) أو "UTF8_CHAR"
(لنقاط رمز Unicode UTF-8 المشفرة) الافتراضي هو "BYTE"
. تكون النتائج غير معرّفة إذا كانت unit=UTF8_CHAR
ولا تحتوي سلاسل input
على UTF-8 صالح هيكليًا.
افتراضات على "BYTE"
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[]
[]