Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
dòng chảy căng:: ôi:: StringSplitV2:: Attr
#include <string_ops.h>
Bộ cài đặt thuộc tính tùy chọn cho StringSplitV2 .
Bản tóm tắt
Chức năng công cộng |
---|
Maxsplit (int64 x) | Một int . |
Thuộc tính công khai
maxsplit_
int64 tensorflow::ops::StringSplitV2::Attrs::maxsplit_ = -1
Chức năng công cộng
Chia tối đa
TF_MUST_USE_RESULT Attrs tensorflow::ops::StringSplitV2::Attrs::Maxsplit(
int64 x
)
Một int
.
Nếu maxsplit > 0
, giới hạn phân chia kết quả.
Mặc định là -1
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::StringSplitV2::Attrs Struct Reference\n\ntensorflow::ops::StringSplitV2::Attrs\n=====================================\n\n`#include \u003cstring_ops.h\u003e`\n\nOptional attribute setters for [StringSplitV2](/versions/r2.0/api_docs/cc/class/tensorflow/ops/string-split-v2#classtensorflow_1_1ops_1_1_string_split_v2).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------|---------|\n| [maxsplit_](#structtensorflow_1_1ops_1_1_string_split_v2_1_1_attrs_1a36cf177853552272eeef3e33f8fd9a99)` = -1` | `int64` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Maxsplit](#structtensorflow_1_1ops_1_1_string_split_v2_1_1_attrs_1a595bcbb37f8b40d8886e46304050848d)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/string-split-v2/attrs#structtensorflow_1_1ops_1_1_string_split_v2_1_1_attrs) An `int`. |\n\nPublic attributes\n-----------------\n\n### maxsplit_\n\n```scdoc\nint64 tensorflow::ops::StringSplitV2::Attrs::maxsplit_ = -1\n``` \n\nPublic functions\n----------------\n\n### Maxsplit\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::StringSplitV2::Attrs::Maxsplit(\n int64 x\n)\n``` \nAn `int`.\n\nIf `maxsplit \u003e 0`, limit of the split of the result.\n\nDefaults to -1"]]