تدفق التوتر:: العمليات:: العنصر ن:: 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 الأكبر في المتجه والعكس صحيح.
الافتراضيات كاذبة
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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.1/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.1/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"]]