tensorflow:: ops:: FakeQuantWithMinMaxVarsGradient
#include <array_ops.h>احسب التدرجات لعملية FakeQuantWithMinMaxVars .
ملخص
الحجج:
- النطاق: كائن النطاق
- التدرجات: التدرجات المنتشرة عكسيًا فوق عملية FakeQuantWithMinMaxVars .
- المدخلات: القيم التي يتم تمريرها كمدخلات لعملية FakeQuantWithMinMaxVars . الحد الأدنى، الحد الأقصى: فاصل التكميم، أعداد عشرية قياسية.
السمات الاختيارية (انظر Attrs ):
- num_bits: عرض البتات للتكميم؛ بين 2 و 8، شاملة.
- النطاق الضيق: ما إذا كان سيتم تقسيم القيمة إلى 2^num_bits - 1 قيمة مميزة.
المرتجعات:
-
Outputbackprops_wrt_input: التدرجات المنتشرة عكسيًا بالنسبة للمدخلات:gradients * (inputs >= min && inputs <= max). -
Outputbackprop_wrt_min: التدرجات المنتشرة عكسيًا بالنسبة إلى الحد الأدنى للمعامل:sum(gradients * (inputs < min)). -
Outputbackprop_wrt_max: التدرجات المنتشرة عكسيًا بالنسبة إلى المعامل الأقصى:sum(gradients * (inputs > max)).
البناة والمدمرون | |
|---|---|
FakeQuantWithMinMaxVarsGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max) | |
FakeQuantWithMinMaxVarsGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max, const FakeQuantWithMinMaxVarsGradient::Attrs & attrs) |
السمات العامة | |
|---|---|
backprop_wrt_max | |
backprop_wrt_min | |
backprops_wrt_input | |
operation | |
الدوال الثابتة العامة | |
|---|---|
NarrowRange (bool x) | |
NumBits (int64 x) | |
الهياكل | |
|---|---|
| tensorflow:: ops:: FakeQuantWithMinMaxVarsGradient:: Attrs | مُعدِّلات السمات الاختيارية لـ FakeQuantWithMinMaxVarsGradient . |
السمات العامة
backprop_wrt_max
::tensorflow::Output backprop_wrt_max
backprop_wrt_min
::tensorflow::Output backprop_wrt_min
backprops_wrt_input
::tensorflow::Output backprops_wrt_input
عملية
Operation operation
الوظائف العامة
FakeQuantWithMinMaxVarsGradient
FakeQuantWithMinMaxVarsGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max )
FakeQuantWithMinMaxVarsGradient
FakeQuantWithMinMaxVarsGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max, const FakeQuantWithMinMaxVarsGradient::Attrs & attrs )
الدوال الثابتة العامة
نطاق ضيق
Attrs NarrowRange( bool x )
NumBits
Attrs NumBits( int64 x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2026-11-05 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2026-11-05 (حسب التوقيت العالمي المتفَّق عليه)"],[],[]]