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:: GiảmTham gia:: Attr
#include <string_ops.h>
Trình thiết lập thuộc tính tùy chọn cho GiảmJoin .
Bản tóm tắt
Chức năng công cộng |
---|
KeepDims (bool x) | Nếu True , giữ lại kích thước đã giảm với độ dài 1 . |
Separator (StringPiece x) | Dấu phân cách để sử dụng khi tham gia. |
Thuộc tính công khai
giữ_dims_
bool tensorflow::ops::ReduceJoin::Attrs::keep_dims_ = false
dấu phân cách_
StringPiece tensorflow::ops::ReduceJoin::Attrs::separator_ = ""
Chức năng công cộng
Giữ Dims
TF_MUST_USE_RESULT Attrs tensorflow::ops::ReduceJoin::Attrs::KeepDims(
bool x
)
Nếu True
, giữ lại kích thước đã giảm với độ dài 1
.
Mặc định là sai
Dấu phân cách
TF_MUST_USE_RESULT Attrs tensorflow::ops::ReduceJoin::Attrs::Separator(
StringPiece x
)
Dấu phân cách để sử dụng khi tham gia.
Mặc định là ""
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-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::ReduceJoin::Attrs Struct Reference\n\ntensorflow::ops::ReduceJoin::Attrs\n==================================\n\n`#include \u003cstring_ops.h\u003e`\n\nOptional attribute setters for [ReduceJoin](/versions/r2.1/api_docs/cc/class/tensorflow/ops/reduce-join#classtensorflow_1_1ops_1_1_reduce_join).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------|---------------|\n| [keep_dims_](#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs_1a66a59084a13a6c34e60e508139766811)` = false` | `bool` |\n| [separator_](#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs_1ade2a0c0e567aa8291553cda9780d17fb)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [KeepDims](#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs_1a0f391c062a0b97f5d54df7b92268f68c)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/reduce-join/attrs#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs) If `True`, retain reduced dimensions with length `1`. |\n| [Separator](#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs_1a9d76fbf57907c183bef70bba3f0f67a4)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/reduce-join/attrs#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs) The separator to use when joining. |\n\nPublic attributes\n-----------------\n\n### keep_dims_\n\n```scdoc\nbool tensorflow::ops::ReduceJoin::Attrs::keep_dims_ = false\n``` \n\n### separator_\n\n```scdoc\nStringPiece tensorflow::ops::ReduceJoin::Attrs::separator_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### KeepDims\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ReduceJoin::Attrs::KeepDims(\n bool x\n)\n``` \nIf `True`, retain reduced dimensions with length `1`.\n\nDefaults to false \n\n### Separator\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ReduceJoin::Attrs::Separator(\n StringPiece x\n)\n``` \nThe separator to use when joining.\n\nDefaults to \"\""]]