tensorflow:: ops:: SparseTensorDenseMatMul
#include <sparse_ops.h>اضرب الموتر المتفرق (من الرتبة 2) "A" في المصفوفة الكثيفة "B".
ملخص
لا يتم إجراء أي فحص للتحقق من صحة مؤشرات A. ومع ذلك، يوصى باستخدام تنسيق الإدخال التالي للحصول على الأداء الأمثل:
إذا كانت قيمة adjoint_a تساوي false: يجب فرز المصفوفة A بترتيب تصاعدي معجمي. استخدم SparseReorder إذا لم تكن متأكدًا. إذا كانت قيمة adjoint_a تساوي true: يجب فرز المصفوفة A بترتيب تصاعدي للبعد 1 (أي، ترتيب "عمودي" بدلاً من ترتيب "صفي").
الحجج:
- النطاق: كائن النطاق
- a_indices: 2-D.
indicesالمصفوفةSparseTensor، حجمها[nnz, 2]. - a_values: 1-D.
valuesالمتجهSparseTensor، حجمه[nnz]. - a_shape: 1-D.
shapeSparseTensor، حجم[2]متجه. - ب: ثنائي الأبعاد. مصفوفة كثيفة.
السمات الاختيارية (انظر Attrs ):
- adjoint_a: استخدم المصفوفة المرافقة للمصفوفة A في عملية ضرب المصفوفات. إذا كانت A مصفوفة مركبة، فإن هذه العملية هي transpose(conj(A)). وإلا فهي transpose(A).
- adjoint_b: استخدم المصفوفة المرافقة للمصفوفة B في عملية ضرب المصفوفات. إذا كانت B مصفوفة مركبة، فإن هذه العملية هي transpose(conj(B)). وإلا فهي transpose(B).
المرتجعات:
-
Output: موتر الضرب.
البناة والمدمرون | |
|---|---|
SparseTensorDenseMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b) | |
SparseTensorDenseMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b, const SparseTensorDenseMatMul::Attrs & attrs) |
السمات العامة | |
|---|---|
operation | |
product | |
الوظائف العامة | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
الدوال الثابتة العامة | |
|---|---|
AdjointA (bool x) | |
AdjointB (bool x) | |
الهياكل | |
|---|---|
| tensorflow:: ops:: SparseTensorDenseMatMul:: Attrs | مُعدِّلات السمات الاختيارية لـ SparseTensorDenseMatMul . |
السمات العامة
عملية
Operation operation
منتج
::tensorflow::Output product
الوظائف العامة
SparseTensorDenseMatMul
SparseTensorDenseMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b )
SparseTensorDenseMatMul
SparseTensorDenseMatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b, const SparseTensorDenseMatMul::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
الدوال الثابتة العامة
المرافق أ
Attrs AdjointA( bool x )
المرافق ب
Attrs AdjointB( bool x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2026-11-05 (حسب التوقيت العالمي المتفَّق عليه)