تينسورفلو :: العمليات :: ماتمول
#include <math_ops.h>
اضرب المصفوفة "أ" بالمصفوفة "ب".
ملخص
يجب أن تكون المدخلات عبارة عن مصفوفات ثنائية الأبعاد ويجب أن يتطابق البعد الداخلي لـ "a" (بعد تغيير موضعه إذا كان transpose_a صحيحًا) مع البعد الخارجي لـ "b" (بعد نقله إذا كان التحويل_ب صحيحًا).
ملاحظة : يستخدم تطبيق kernel الافتراضي لـ MatMul على وحدات معالجة الرسومات cublas.
الحجج:
- النطاق: كائن النطاق
السمات الاختيارية (انظر Attrs
):
- transpose_a: إذا كان صحيحًا ، يتم نقل "a" قبل الضرب.
- transpose_b: إذا كان صحيحًا ، يتم تبديل موضع "b" قبل الضرب.
عائدات:
-
Output
: موتر المنتج.
البنائين والمدمرين | |
---|---|
MatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b) | |
MatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b, const MatMul::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
product |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
TransposeA (bool x) | |
TransposeB (bool x) |
الهياكل | |
---|---|
tensorflow :: العمليات :: MatMul :: Attrs |
السمات العامة
عملية
Operation operation
منتج
::tensorflow::Output product
الوظائف العامة
ماتمول
MatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b )
ماتمول
MatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, const MatMul::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
تبديل
Attrs TransposeA( bool x )
تبديل
Attrs TransposeB( bool x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2020-04-20 (حسب التوقيت العالمي المتفَّق عليه)
[{
"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":"غير ذلك"
}]