จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: ตัวยึด:: คุณสมบัติ
#include <array_ops.h>
ตัวตั้งค่าแอตทริบิวต์เพิ่มเติมสำหรับ Placeholder
สรุป
คุณลักษณะสาธารณะ |
---|
shape_ = ::tensorflow::PartialTensorShape() | PartialTensorShape |
งานสาธารณะ |
---|
Shape (PartialTensorShape x) | (ไม่บังคับ) รูปร่างของเทนเซอร์ |
คุณลักษณะสาธารณะ
รูปร่าง_
PartialTensorShape tensorflow::ops::Placeholder::Attrs::shape_ = ::tensorflow::PartialTensorShape()
งานสาธารณะ
รูปร่าง
TF_MUST_USE_RESULT Attrs tensorflow::ops::Placeholder::Attrs::Shape(
PartialTensorShape x
)
(ไม่บังคับ) รูปร่างของเทนเซอร์
หากรูปร่างมี 0 มิติ แสดงว่ารูปร่างนั้นไม่มีข้อจำกัด
ค่าเริ่มต้นเป็น
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# tensorflow::ops::Placeholder::Attrs Struct Reference\n\ntensorflow::ops::Placeholder::Attrs\n===================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [Placeholder](/versions/r1.15/api_docs/cc/class/tensorflow/ops/placeholder#classtensorflow_1_1ops_1_1_placeholder).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------------------------|----------------------|\n| [shape_](#structtensorflow_1_1ops_1_1_placeholder_1_1_attrs_1a6a6c519ecc364678035bee0c2e15fd62)` = ::tensorflow::PartialTensorShape()` | `PartialTensorShape` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Shape](#structtensorflow_1_1ops_1_1_placeholder_1_1_attrs_1a231b90321d75fb62c9c3e71fc94536d7)`(PartialTensorShape x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/placeholder/attrs#structtensorflow_1_1ops_1_1_placeholder_1_1_attrs) (Optional) The shape of the tensor. |\n\nPublic attributes\n-----------------\n\n### shape_\n\n```scdoc\nPartialTensorShape tensorflow::ops::Placeholder::Attrs::shape_ = ::tensorflow::PartialTensorShape()\n``` \n\nPublic functions\n----------------\n\n### Shape\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Placeholder::Attrs::Shape(\n PartialTensorShape x\n)\n``` \n(Optional) The shape of the tensor.\n\nIf the shape has 0 dimensions, the shape is unconstrained.\n\nDefaults to"]]