Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
tensoreflusso:: ops:: Raccogliere:: Attr
#include <array_ops.h>
Setter di attributi facoltativi per Gather .
Riepilogo
Attributi pubblici
validate_indices_
bool tensorflow::ops::Gather::Attrs::validate_indices_ = true
Funzioni pubbliche
ValidateIndices
TF_MUST_USE_RESULT Attrs tensorflow::ops::Gather::Attrs::ValidateIndices(
bool x
)
Il valore predefinito è vero.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 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."]]