コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦:: TensorArrayGather::属性
#include <data_flow_ops.h>
TensorArrayGatherのオプションの属性セッター。
まとめ
パブリック属性 |
---|
element_shape_ = ::tensorflow::PartialTensorShape() | PartialTensorShape |
パブリック属性
要素の形状_
PartialTensorShape tensorflow::ops::TensorArrayGather::Attrs::element_shape_ = ::tensorflow::PartialTensorShape()
公共機能
要素の形状
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorArrayGather::Attrs::ElementShape(
PartialTensorShape x
)
要素の予想される形状 (既知の場合)。
TensorArray要素の形状を検証するために使用されます。この形状が完全に指定されていない場合、サイズがゼロの TensorArray を収集するとエラーになります。
デフォルトは
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 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"]]