จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: รวมตัว:: คุณสมบัติ
#include <array_ops.h>
ตัวตั้งค่าคุณลักษณะเพิ่มเติมสำหรับ Gather
สรุป
คุณลักษณะสาธารณะ
ตรวจสอบ_ดัชนี_
bool tensorflow::ops::Gather::Attrs::validate_indices_ = true
งานสาธารณะ
ตรวจสอบดัชนี
TF_MUST_USE_RESULT Attrs tensorflow::ops::Gather::Attrs::ValidateIndices(
bool x
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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."]]