tensorflow:: ops:: FusedBatchNormV2
#include <nn_ops.h>التسوية الدفعية.
ملخص
لاحظ أن حجم الموترات رباعية الأبعاد يُحدد إما بـ "NHWC" أو "NCHW". ويتطابق حجم الموترات أحادية الأبعاد مع البُعد C للموترات رباعية الأبعاد.
الحجج:
- النطاق: كائن النطاق
- x: موتر رباعي الأبعاد لبيانات الإدخال.
- المقياس: موتر أحادي البعد لعامل القياس، لتغيير مقياس x المعياري.
- الإزاحة: موتر أحادي البعد للإزاحة، للانتقال إلى x المعياري.
- المتوسط: موتر أحادي البعد لمتوسط المجتمع. يُستخدم للاستدلال فقط؛ يجب أن يكون فارغًا للتدريب.
- التباين: موتر أحادي البعد لتباين المجتمع. يُستخدم للاستدلال فقط؛ يجب أن يكون فارغًا للتدريب.
السمات الاختيارية (انظر Attrs ):
- إبسيلون: عدد عشري صغير يُضاف إلى تباين x.
- data_format: تنسيق البيانات لـ x و y. إما "NHWC" (الافتراضي) أو "NCHW".
- is_training: قيمة منطقية تشير إلى أن العملية مخصصة للتدريب (افتراضي) أو الاستدلال.
المرتجعات:
-
Outputy: موتر رباعي الأبعاد لبيانات الإخراج. -
Outputbatch_mean: A 1D Tensor for the uctated batch mean, to be used by TensorFlow for the account running mean. -
Outputbatch_variance: A 1D Tensor for the computed batch variance, to be used by TensorFlow for account the running variance. -
Outputreserve_space_1: A 1D Tensor for the computed batch mean, to be reused in the gradient accountation. -
Outputreserve_space_2: A 1D Tensor for the yucated batch variance (inverted variance in the cuDNN case), to be reused in the gradient account.
البناة والمدمرون | |
|---|---|
FusedBatchNormV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input scale, :: tensorflow::Input offset, :: tensorflow::Input mean, :: tensorflow::Input variance) | |
FusedBatchNormV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input scale, :: tensorflow::Input offset, :: tensorflow::Input mean, :: tensorflow::Input variance, const FusedBatchNormV2::Attrs & attrs) |
السمات العامة | |
|---|---|
batch_mean | |
batch_variance | |
operation | |
reserve_space_1 | |
reserve_space_2 | |
y | |
الدوال الثابتة العامة | |
|---|---|
DataFormat (StringPiece x) | |
Epsilon (float x) | |
IsTraining (bool x) | |
الهياكل | |
|---|---|
| tensorflow:: ops:: FusedBatchNormV2:: Attrs | أدوات تعيين السمات الاختيارية لـ FusedBatchNormV2 . |
السمات العامة
متوسط الدفعة
::tensorflow::Output batch_mean
تباين الدفعة
::tensorflow::Output batch_variance
عملية
Operation operation
حجز_المساحة_1
::tensorflow::Output reserve_space_1
حجز_المساحة_2
::tensorflow::Output reserve_space_2
y
::tensorflow::Output y
الوظائف العامة
FusedBatchNormV2
FusedBatchNormV2( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input scale, ::tensorflow::Input offset, ::tensorflow::Input mean, ::tensorflow::Input variance )
FusedBatchNormV2
FusedBatchNormV2( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input scale, ::tensorflow::Input offset, ::tensorflow::Input mean, ::tensorflow::Input variance, const FusedBatchNormV2::Attrs & attrs )
الدوال الثابتة العامة
تنسيق البيانات
Attrs DataFormat( StringPiece x )
إبسيلون
Attrs Epsilon( float x )
التدريب
Attrs IsTraining( bool 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 (حسب التوقيت العالمي المتفَّق عليه)"],[],[]]