تدفق التوتر:: العمليات:: QuantizedMatMul
#include <math_ops.h>
قم بإجراء عملية ضرب المصفوفة الكمية لـ a
بواسطة المصفوفة b
.
ملخص
يجب أن تكون المدخلات مصفوفات ثنائية الأبعاد ويجب أن يتطابق البعد الداخلي لـ a
(بعد تبديل موضعه إذا كان transpose_a
غير صفر) مع البعد الخارجي لـ b
(بعد تبديل موضعه إذا كان transposed_b
غير صفر).
الحجج:
- النطاق: كائن النطاق
- أ: يجب أن يكون موتر ثنائي الأبعاد.
- ب: يجب أن يكون موتر ثنائي الأبعاد.
- min_a: القيمة العائمة التي تمثل
a
الكمية الأقل. - max_a: القيمة العائمة التي تمثل أعلى
a
مكممة. - min_b: القيمة العائمة التي تمثلها أقل قيمة
b
مكممة. - max_b: القيمة العائمة التي تمثل أعلى قيمة
b
مكممة.
السمات الاختيارية (انظر Attrs
):
- transpose_a: إذا كان صحيحًا، فسيتم نقل
a
قبل الضرب. - transpose_b: إذا كان صحيحًا، فسيتم نقل
b
قبل الضرب. - التنشيط: نوع المخرجات التي تنتجها وظيفة التنشيط بعد هذه العملية.
العوائد:
-
Output
-
Output
min_out: القيمة العائمة التي تمثل أقل قيمة إخراج مكممة. -
Output
max_out: القيمة العائمة التي تمثل أعلى قيمة إخراج مكممة.
البنائين والمدمرين | |
---|---|
QuantizedMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b, :: tensorflow::Input min_a, :: tensorflow::Input max_a, :: tensorflow::Input min_b, :: tensorflow::Input max_b) | |
QuantizedMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b, :: tensorflow::Input min_a, :: tensorflow::Input max_a, :: tensorflow::Input min_b, :: tensorflow::Input max_b, const QuantizedMatMul::Attrs & attrs) |
وظائف ثابتة العامة | |
---|---|
Tactivation (DataType x) | |
Toutput (DataType x) | |
TransposeA (bool x) | |
TransposeB (bool x) |
الهياكل | |
---|---|
Tensorflow:: ops:: QuantizedMatMul:: Attrs | محددات السمات الاختيارية لـ QuantizedMatMul . |
الصفات العامة
max_out
::tensorflow::Output max_out
min_out
::tensorflow::Output min_out
عملية
Operation operation
خارج
::tensorflow::Output out
الوظائف العامة
QuantizedMatMul
QuantizedMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, ::tensorflow::Input min_a, ::tensorflow::Input max_a, ::tensorflow::Input min_b, ::tensorflow::Input max_b )
QuantizedMatMul
QuantizedMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, ::tensorflow::Input min_a, ::tensorflow::Input max_a, ::tensorflow::Input min_b, ::tensorflow::Input max_b, const QuantizedMatMul::Attrs & attrs )