تينسورفلو :: العمليات :: AccumulatorTakeGradient
#include <data_flow_ops.h>
يستخرج متوسط التدرج في ConditionalAccumulator المحدد.
ملخص
كتل المرجع حتى تم تجميع التدرجات الكافية (أي أكثر من عدد_الطلب). إذا قام المُراكم بالفعل بتجميع أكثر من عدد من التدرجات المطلوبة ، فإنه يُرجع متوسط التدرجات المتراكمة. كما تقوم تلقائيًا بزيادة global_step المسجلة في المجمع بمقدار 1 ، وإعادة تعيين المجموع إلى 0.
الحجج:
- النطاق: كائن النطاق
- المقبض: مقبض المجمع.
- num_required: عدد التدرجات اللونية المطلوبة قبل إرجاع مجموع.
- نوع البيانات: نوع بيانات التدرجات المتراكمة. يجب أن يتوافق مع نوع المجمع.
عائدات:
-
Output
: متوسط التدرجات المتراكمة.
البنائين والمدمرين | |
---|---|
AccumulatorTakeGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input num_required, DataType dtype) |
السمات العامة | |
---|---|
average | |
operation |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
السمات العامة
معدل
::tensorflow::Output average
عملية
Operation operation
الوظائف العامة
AccumulatorTakeGradient
AccumulatorTakeGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input num_required, DataType dtype )
العقدة
::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"
}]