TensorGroup
โปรโตคอลที่เป็นตัวแทนของประเภทที่สามารถแมปไปและกลับจาก Array<CTensorHandle>
เมื่อ TensorGroup
จะใช้เป็นข้อโต้แย้งกับการดำเนินการเมตริกซ์ก็จะถูกส่งเป็นรายการอาร์กิวเมนต์ซึ่งเป็นธาตุทุ่งเมตริกซ์ชนิด
เมื่อ TensorGroup
จะถูกส่งกลับเป็นผลมาจากการดำเนินการเมตริกซ์ก็จะเริ่มต้นกับเขตเมตริกซ์ของการตั้งค่ากับผลการดำเนินงานเมตริกซ์เมตริกซ์ของ
เริ่มต้นค่าประเภทนี้การเป็นเจ้าของของ _tensorHandleCount
เทนเซอร์เริ่มต้นที่อยู่ tensorHandles
ประกาศ
init(_owning tensorHandles: UnsafePointer<CTensorHandle>?)
ประกาศ
public init(_owning tensorHandles: UnsafePointer<CTensorHandle>?, count: Int)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-09-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"ไม่มีข้อมูลที่ฉันต้องการ"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"ล้าสมัย"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ปัญหาเกี่ยวกับการแปล"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"อื่นๆ"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"เข้าใจง่าย"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"แก้ปัญหาของฉันได้"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"อื่นๆ"
}]