مجموعة 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":"غير ذلك"
}]