تينسورفلو :: العمليات :: SparseAccumulatorApplyGradient
#include <data_flow_ops.h>
يطبق تدرجًا متفرقًا على مُراكم معين.
ملخص
لا تضيف إذا كانت local_step أصغر من global_step للمجمع.
الحجج:
- النطاق: كائن النطاق
- المقبض: مقبض المجمع.
- local_step: قيمة local_step التي تم بها حساب التدرج اللوني المتفرق.
- gradient_indices: أن تتراكم مؤشرات التدرج المتناثر. يجب أن يكون متجهًا.
- gradient_values: القيم هي الشرائح غير الصفرية للتدرج ، ويجب أن يكون لها نفس البعد الأول مثل المؤشرات ، أي أن nnz الممثلة بالمؤشرات والقيم يجب أن تكون متسقة.
- gradient_shape: شكل التدرج المتناثر المراد تجميعه.
- has_known_shape: منطقي يشير إلى ما إذا كان gradient_shape غير معروف ، وفي هذه الحالة يتم تجاهل الإدخال أثناء التحقق من الصحة.
عائدات:
-
Operation
تم إنشاؤها
البنائين والمدمرين | |
---|---|
SparseAccumulatorApplyGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input local_step, :: tensorflow::Input gradient_indices, :: tensorflow::Input gradient_values, :: tensorflow::Input gradient_shape, bool has_known_shape) |
السمات العامة | |
---|---|
operation |
الوظائف العامة | |
---|---|
operator::tensorflow::Operation () const |
السمات العامة
عملية
Operation operation
الوظائف العامة
SparseAccumulatorApplyGradient
SparseAccumulatorApplyGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input local_step, ::tensorflow::Input gradient_indices, ::tensorflow::Input gradient_values, ::tensorflow::Input gradient_shape, bool has_known_shape )
المشغل :: Tensorflow :: العملية
operator::tensorflow::Operation() const
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص 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":"غير ذلك"
}]