จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: TensorArrayรวบรวม:: คุณสมบัติ
#include <data_flow_ops.h>
ตัวตั้งค่าแอตทริบิวต์เพิ่มเติมสำหรับ TensorArrayGather
สรุป
คุณลักษณะสาธารณะ |
---|
element_shape_ = ::tensorflow::PartialTensorShape() | PartialTensorShape |
งานสาธารณะ |
---|
ElementShape (PartialTensorShape x) | รูปร่างที่คาดหวังขององค์ประกอบ หากทราบ |
คุณลักษณะสาธารณะ
องค์ประกอบ_รูปร่าง_
PartialTensorShape tensorflow::ops::TensorArrayGather::Attrs::element_shape_ = ::tensorflow::PartialTensorShape()
งานสาธารณะ
องค์ประกอบรูปร่าง
TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorArrayGather::Attrs::ElementShape(
PartialTensorShape x
)
รูปร่างที่คาดหวังขององค์ประกอบ หากทราบ
ใช้เพื่อตรวจสอบรูปร่างขององค์ประกอบ TensorArray หากไม่ได้ระบุรูปร่างนี้อย่างสมบูรณ์ การรวบรวม TensorArrays ขนาดศูนย์ถือเป็นข้อผิดพลาด
ค่าเริ่มต้นเป็น
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"]]