تينسورفلو :: العمليات :: SparseDenseCwiseMul
#include <sparse_ops.h>
عنصر الحكمة يضاعف SparseTensor بواسطة Tensor كثيف.
ملخص
ستكون مواقع الإخراج المقابلة للعناصر الصفرية الضمنية في الموتر المتناثر صفراً (أي لن تشغل مساحة تخزين) ، بغض النظر عن محتويات الموتر الكثيف (حتى لو كانت +/- INF وأن INF * 0 == ن).
التقييد : هذا المرجع يبث فقط الجانب الكثيف إلى الجانب المتناثر ، ولكن ليس الاتجاه الآخر.
الحجج:
- النطاق: كائن النطاق
- sp_indices: 2-د. مصفوفة
N x R
مع مؤشرات القيم غير الفارغة في SparseTensor ، ربما لا تكون بالترتيب الأساسي. - sp_values: 1-د.
N
قيم غير فارغة تقابلsp_indices
. - sp_ الشكل: 1-د. شكل الإدخال SparseTensor.
- كثيف:
R
-D. معامل التنسور الكثيف.
عائدات:
-
Output
: 1-D. قيمN
التي يتم تشغيلها.
البنائين والمدمرين | |
---|---|
SparseDenseCwiseMul (const :: tensorflow::Scope & scope, :: tensorflow::Input sp_indices, :: tensorflow::Input sp_values, :: tensorflow::Input sp_shape, :: tensorflow::Input dense) |
السمات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
SparseDenseCwiseMul
SparseDenseCwiseMul( const ::tensorflow::Scope & scope, ::tensorflow::Input sp_indices, ::tensorflow::Input sp_values, ::tensorflow::Input sp_shape, ::tensorflow::Input dense )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
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"
}]