تينسورفلو :: العمليات :: مجمع متناثر مشروط
#include <data_flow_ops.h>
تراكم شرطي لتجميع التدرجات المتفرقة.
ملخص
يقبل المركب التدرجات التي تم تمييزها بعلامة local_step أكبر من أو تساوي أحدث خطوة عالمية معروفة للمراكم. يمكن استخلاص المتوسط من المركب بشرط أن يتم تجميع التدرجات الكافية. يؤدي استخراج المتوسط تلقائيًا إلى إعادة تعيين التجميع إلى 0 ، وزيادة الخطوة_العالمية المسجلة بواسطة المُراكم.
الحجج:
- النطاق: كائن النطاق
- dtype: نوع القيمة المتراكمة.
- الشكل: شكل القيم.
السمات الاختيارية (انظر Attrs
):
- الحاوية: إذا لم تكن فارغة ، يتم وضع هذا المركب في الحاوية المحددة. خلاف ذلك ، يتم استخدام حاوية افتراضية.
- Shared_name: إذا لم يكن فارغًا ، فستتم مشاركة هذا المجمع تحت الاسم المحدد عبر جلسات متعددة.
عائدات:
-
Output
: مقبض المجمع.
البنائين والمدمرين | |
---|---|
SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape) | |
SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const SparseConditionalAccumulator::Attrs & attrs) |
السمات العامة | |
---|---|
handle | |
operation |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
Container (StringPiece x) | |
ReductionType (StringPiece x) | |
SharedName (StringPiece x) |
الهياكل | |
---|---|
tensorflow :: العمليات :: SparseConditionalAccumulator :: Attrs | محددات السمات الاختيارية لـ SparseConditionalAccumulator . |
السمات العامة
مقبض
::tensorflow::Output handle
عملية
Operation operation
الوظائف العامة
مجمع متناثر مشروط
SparseConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape )
مجمع متناثر مشروط
SparseConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const SparseConditionalAccumulator::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
وعاء
Attrs Container( StringPiece x )
نوع التخفيض
Attrs ReductionType( StringPiece x )
SharedName
Attrs SharedName( StringPiece 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.