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