Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: Zebrać:: Atrybuty
#include <array_ops.h>
Opcjonalne moduły ustawiające atrybuty dla Gather .
Streszczenie
Atrybuty publiczne
walidacja_indeksów_
bool tensorflow::ops::Gather::Attrs::validate_indices_ = true
Funkcje publiczne
Sprawdź indeksy
TF_MUST_USE_RESULT Attrs tensorflow::ops::Gather::Attrs::ValidateIndices(
bool x
)
Domyślnie jest to prawda.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]