تدفق التوتر:: العمليات:: BiasAddGrad
#include <nn_ops.h>
العملية الخلفية لـ "BiasAdd" على موتر "التحيز".
ملخص
يقوم بتجميع كل القيم من out_backprop في بُعد الميزة. بالنسبة لتنسيق بيانات NHWC، يكون بُعد الميزة هو الأخير. بالنسبة لتنسيق بيانات NCHW، يكون بُعد الميزة هو البعد الثالث إلى الأخير.
الحجج:
السمات الاختيارية (انظر Attrs
):
- data_format: تحديد تنسيق البيانات لبيانات الإدخال والإخراج. باستخدام التنسيق الافتراضي "NHWC"، سيتم إضافة موتر التحيز إلى البعد الأخير لموتر القيمة. وبدلاً من ذلك، يمكن أن يكون التنسيق "NCHW"، بترتيب تخزين البيانات: [batch, in_channels, in_height, in_width]. ستتم إضافة الموتر إلى "in_channels"، البعد من الثالث إلى الأخير.
العوائد:
-
Output
: 1-D مع حجم البعد المميز لـout_backprop
.
البنائين والمدمرين | |
---|---|
BiasAddGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input out_backprop) | |
BiasAddGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input out_backprop, const BiasAddGrad::Attrs & attrs) |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة العامة | |
---|---|
DataFormat (StringPiece x) |
الهياكل | |
---|---|
Tensorflow:: ops:: BiasAddGrad:: Attrs | محددات السمات الاختيارية لـ BiasAddGrad . |
الصفات العامة
عملية
Operation operation
الإخراج
::tensorflow::Output output
الوظائف العامة
BiasAddGrad
BiasAddGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input out_backprop )
BiasAddGrad
BiasAddGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input out_backprop, const BiasAddGrad::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
تنسيق البيانات
Attrs DataFormat( StringPiece x )