تينسورفلو :: العمليات :: ماتمول
#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 )
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 2020-04-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]