tensorflow:: אופס:: לֶאֱסוֹף:: Attrs
#include <array_ops.h>
מגדירי תכונות אופציונליים עבור Gather .
תַקצִיר
תכונות ציבוריות | |
---|---|
validate_indices_ = true | bool |
תפקידים ציבוריים | |
---|---|
ValidateIndices (bool x) | TF_MUST_USE_RESULT Attrs ברירת המחדל לאמת. |
תכונות ציבוריות
לאמת_מדדים_
bool tensorflow::ops::Gather::Attrs::validate_indices_ = true
תפקידים ציבוריים
ValidateIndices
TF_MUST_USE_RESULT Attrs tensorflow::ops::Gather::Attrs::ValidateIndices( bool x )
ברירת המחדל לאמת.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],null,["# tensorflow::ops::Gather::Attrs Struct Reference\n\ntensorflow::ops::Gather::Attrs\n==============================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [Gather](/versions/r2.3/api_docs/cc/class/tensorflow/ops/gather#classtensorflow_1_1ops_1_1_gather).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------|--------|\n| [validate_indices_](#structtensorflow_1_1ops_1_1_gather_1_1_attrs_1a25d64e28800785c41fb7a7bffb70c642)` = true` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ValidateIndices](#structtensorflow_1_1ops_1_1_gather_1_1_attrs_1a35d2caff6e4841c512b30491f857d41a)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/gather/attrs#structtensorflow_1_1ops_1_1_gather_1_1_attrs) Defaults to true. |\n\nPublic attributes\n-----------------\n\n### validate_indices_\n\n```scdoc\nbool tensorflow::ops::Gather::Attrs::validate_indices_ = true\n``` \n\nPublic functions\n----------------\n\n### ValidateIndices\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Gather::Attrs::ValidateIndices(\n bool x\n)\n``` \nDefaults to true."]]