tensorflow:: אופס:: SparseReduceMaxSparse:: Attrs
#include <sparse_ops.h>
קובעי תכונות אופציונליים עבור SparseReduceMaxSparse .
תַקצִיר
תכונות ציבוריות | |
---|---|
keep_dims_ = false | bool |
תפקידים ציבוריים | |
---|---|
KeepDims (bool x) | TF_MUST_USE_RESULT Attrs אם זה נכון, שמור על מידות מופחתות עם אורך 1. |
תכונות ציבוריות
keep_dims_
bool tensorflow::ops::SparseReduceMaxSparse::Attrs::keep_dims_ = false
תפקידים ציבוריים
KeepDims
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseReduceMaxSparse::Attrs::KeepDims( bool x )
אם זה נכון, שמור על מידות מופחתות עם אורך 1.
ברירת המחדל ל-false
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# tensorflow::ops::SparseReduceMaxSparse::Attrs Struct Reference\n\ntensorflow::ops::SparseReduceMaxSparse::Attrs\n=============================================\n\n`#include \u003csparse_ops.h\u003e`\n\nOptional attribute setters for [SparseReduceMaxSparse](/versions/r1.15/api_docs/cc/class/tensorflow/ops/sparse-reduce-max-sparse#classtensorflow_1_1ops_1_1_sparse_reduce_max_sparse).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------------|--------|\n| [keep_dims_](#structtensorflow_1_1ops_1_1_sparse_reduce_max_sparse_1_1_attrs_1a5f44da89bb2df6c91247f9ea87b51a39)` = false` | `bool` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [KeepDims](#structtensorflow_1_1ops_1_1_sparse_reduce_max_sparse_1_1_attrs_1aa62d1fdad9596946ba2e6cb122c8dafa)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/sparse-reduce-max-sparse/attrs#structtensorflow_1_1ops_1_1_sparse_reduce_max_sparse_1_1_attrs) If true, retain reduced dimensions with length 1. |\n\nPublic attributes\n-----------------\n\n### keep_dims_\n\n```scdoc\nbool tensorflow::ops::SparseReduceMaxSparse::Attrs::keep_dims_ = false\n``` \n\nPublic functions\n----------------\n\n### KeepDims\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseReduceMaxSparse::Attrs::KeepDims(\n bool x\n)\n``` \nIf true, retain reduced dimensions with length 1.\n\nDefaults to false"]]