จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: สตริงแยก:: คุณสมบัติ
#include <string_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ StringSplit
สรุป
คุณลักษณะสาธารณะ
ข้าม_empty_
bool tensorflow::ops::StringSplit::Attrs::skip_empty_ = true
งานสาธารณะ
ข้ามว่างเปล่า
TF_MUST_USE_RESULT Attrs tensorflow::ops::StringSplit::Attrs::SkipEmpty(
bool x
)
bool
หากเป็น True
ให้ข้ามสตริงว่างจากผลลัพธ์
ค่าเริ่มต้นเป็นจริง
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],[],null,["# tensorflow::ops::StringSplit::Attrs Struct Reference\n\ntensorflow::ops::StringSplit::Attrs\n===================================\n\n`#include \u003cstring_ops.h\u003e`\n\nOptional attribute setters for [StringSplit](/versions/r2.3/api_docs/cc/class/tensorflow/ops/string-split#classtensorflow_1_1ops_1_1_string_split).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------|--------|\n| [skip_empty_](#structtensorflow_1_1ops_1_1_string_split_1_1_attrs_1a9010665ec144a8cf699c3f5d8f1549c2)` = true` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SkipEmpty](#structtensorflow_1_1ops_1_1_string_split_1_1_attrs_1a19bac68dc56d18dd4bdaf035dec0c2af)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/string-split/attrs#structtensorflow_1_1ops_1_1_string_split_1_1_attrs) A `bool`. |\n\nPublic attributes\n-----------------\n\n### skip_empty_\n\n```scdoc\nbool tensorflow::ops::StringSplit::Attrs::skip_empty_ = true\n``` \n\nPublic functions\n----------------\n\n### SkipEmpty\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::StringSplit::Attrs::SkipEmpty(\n bool x\n)\n``` \nA `bool`.\n\nIf `True`, skip the empty strings from the result.\n\nDefaults to true"]]