コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦:: N 番目の要素::属性
#include <nn_ops.h>
NthElementのオプションの属性セッター。
まとめ
公共機能 |
---|
Reverse (bool x) | True に設定すると、ベクトル内で n 番目に大きい値が検索され、その逆も同様です。 |
パブリック属性
逆行する_
bool tensorflow::ops::NthElement::Attrs::reverse_ = false
公共機能
逆行する
TF_MUST_USE_RESULT Attrs tensorflow::ops::NthElement::Attrs::Reverse(
bool x
)
True に設定すると、ベクトル内で n 番目に大きい値が検索され、その逆も同様です。
デフォルトは false
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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/r1.15/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/r1.15/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"]]