Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: TensorArrayGather:: Atrybuty
#include <data_flow_ops.h>
Opcjonalne moduły ustawiające atrybuty dla TensorArrayGather .
Streszczenie
Atrybuty publiczne |
---|
element_shape_ = ::tensorflow::PartialTensorShape() | PartialTensorShape |
Funkcje publiczne |
---|
ElementShape (PartialTensorShape x) | Oczekiwany kształt elementu, jeśli jest znany. |
Atrybuty publiczne
element_kształt_
PartialTensorShape tensorflow::ops::TensorArrayGather::Attrs::element_shape_ = ::tensorflow::PartialTensorShape()
Funkcje publiczne
Kształt elementu
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorArrayGather::Attrs::ElementShape(
PartialTensorShape x
)
Oczekiwany kształt elementu, jeśli jest znany.
Służy do sprawdzania poprawności kształtów elementów TensorArray . Jeśli ten kształt nie jest w pełni określony, gromadzenie TensorArrays o zerowym rozmiarze będzie błędem.
Domyślnie
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::TensorArrayGather::Attrs Struct Reference\n\ntensorflow::ops::TensorArrayGather::Attrs\n=========================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [TensorArrayGather](/versions/r2.2/api_docs/cc/class/tensorflow/ops/tensor-array-gather#classtensorflow_1_1ops_1_1_tensor_array_gather).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------|\n| [element_shape_](#structtensorflow_1_1ops_1_1_tensor_array_gather_1_1_attrs_1adcea1b30f6c6ffe54440623285a89bb6)` = ::tensorflow::PartialTensorShape()` | `PartialTensorShape` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ElementShape](#structtensorflow_1_1ops_1_1_tensor_array_gather_1_1_attrs_1a35f9ef8b692ec2975934b78823699ece)`(PartialTensorShape x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/tensor-array-gather/attrs#structtensorflow_1_1ops_1_1_tensor_array_gather_1_1_attrs) The expected shape of an element, if known. |\n\nPublic attributes\n-----------------\n\n### element_shape_\n\n```scdoc\nPartialTensorShape tensorflow::ops::TensorArrayGather::Attrs::element_shape_ = ::tensorflow::PartialTensorShape()\n``` \n\nPublic functions\n----------------\n\n### ElementShape\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TensorArrayGather::Attrs::ElementShape(\n PartialTensorShape x\n)\n``` \nThe expected shape of an element, if known.\n\nUsed to validate the shapes of [TensorArray](/versions/r2.2/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) elements. If this shape is not fully specified, gathering zero-size TensorArrays is an error.\n\nDefaults to"]]