tensorflow:: אופס:: NthElement:: Attrs
#include <nn_ops.h>
קובעי תכונות אופציונליים עבור NthElement .
תַקצִיר
תכונות ציבוריות | |
---|---|
reverse_ = false | bool |
תפקידים ציבוריים | |
---|---|
Reverse (bool x) | TF_MUST_USE_RESULT Attrs כאשר מוגדר כ-True, מצא את הערך ה-n-הגדול ביותר בווקטור ולהיפך. |
תכונות ציבוריות
לַהֲפוֹך_
bool tensorflow::ops::NthElement::Attrs::reverse_ = false
תפקידים ציבוריים
לַהֲפוֹך
TF_MUST_USE_RESULT Attrs tensorflow::ops::NthElement::Attrs::Reverse( bool x )
כאשר מוגדר כ-True, מצא את הערך ה-n-הגדול ביותר בווקטור ולהיפך.
ברירת המחדל ל-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::NthElement::Attrs Struct Reference\n\ntensorflow::ops::NthElement::Attrs\n==================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [NthElement](/versions/r2.0/api_docs/cc/class/tensorflow/ops/nth-element#classtensorflow_1_1ops_1_1_nth_element).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------|--------|\n| [reverse_](#structtensorflow_1_1ops_1_1_nth_element_1_1_attrs_1a52c83bb2ea2b8689dc3c0107711c9c9c)` = false` | `bool` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Reverse](#structtensorflow_1_1ops_1_1_nth_element_1_1_attrs_1a6fa7514afbcda87cda9c6a9b611c788e)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/nth-element/attrs#structtensorflow_1_1ops_1_1_nth_element_1_1_attrs) When set to True, find the nth-largest value in the vector and vice versa. |\n\nPublic attributes\n-----------------\n\n### reverse_\n\n```scdoc\nbool tensorflow::ops::NthElement::Attrs::reverse_ = false\n``` \n\nPublic functions\n----------------\n\n### Reverse\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::NthElement::Attrs::Reverse(\n bool x\n)\n``` \nWhen set to True, find the nth-largest value in the vector and vice versa.\n\nDefaults to false"]]