tensorflow:: ops:: FakeQuantWithMinMaxVarsPerChannelGradient
#include <array_ops.h>حساب التدرجات لعملية FakeQuantWithMinMaxVarsPerChannel .
ملخص
الحجج:
- النطاق: كائن النطاق
- التدرجات: التدرجات المنتشرة عكسيًا فوق عملية FakeQuantWithMinMaxVars ، شكلها واحد مما يلي:
[d]،[b, d]،[b, h, w, d]. - المدخلات: القيم التي يتم تمريرها كمدخلات لعملية FakeQuantWithMinMaxVars ، شكلها مماثل
gradients. الحد الأدنى، الحد الأقصى: فاصل التكميم، أعداد عشرية ذات شكل[d].
السمات الاختيارية (انظر Attrs ):
- num_bits: عرض البتات للتكميم؛ بين 2 و 16، شاملة.
- النطاق الضيق: ما إذا كان سيتم تقسيم القيمة إلى 2^num_bits - 1 قيمة مميزة.
المرتجعات:
-
Outputbackprops_wrt_input: التدرجات المنتشرة عكسيًا بالنسبة للمدخلات، شكلها مماثلinputs:gradients * (inputs >= min && inputs <= max). -
Outputbackprop_wrt_min: التدرجات المنتشرة عكسيًا بالنسبة للمعامل الأدنى، الشكل[d]:sum_per_d(gradients * (inputs < min)). -
Outputbackprop_wrt_max: التدرجات المنتشرة عكسيًا بالنسبة إلى المعامل الأقصى، الشكل[d]:sum_per_d(gradients * (inputs > max)).
البناة والمدمرون | |
|---|---|
FakeQuantWithMinMaxVarsPerChannelGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max) | |
FakeQuantWithMinMaxVarsPerChannelGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max, const FakeQuantWithMinMaxVarsPerChannelGradient::Attrs & attrs) |
السمات العامة | |
|---|---|
backprop_wrt_max | |
backprop_wrt_min | |
backprops_wrt_input | |
operation | |
الدوال الثابتة العامة | |
|---|---|
NarrowRange (bool x) | |
NumBits (int64 x) | |
الهياكل | |
|---|---|
| tensorflow:: ops:: FakeQuantWithMinMaxVarsPerChannelGradient:: Attrs | مُعدِّلات السمات الاختيارية لـ FakeQuantWithMinMaxVarsPerChannelGradient . |
السمات العامة
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
الوظائف العامة
FakeQuantWithMinMaxVarsPerChannelGradient
FakeQuantWithMinMaxVarsPerChannelGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max )
FakeQuantWithMinMaxVarsPerChannelGradient
FakeQuantWithMinMaxVarsPerChannelGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max, const FakeQuantWithMinMaxVarsPerChannelGradient::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 (حسب التوقيت العالمي المتفَّق عليه)"],[],[]]