tensorflow:: ops:: LRN

#include <nn_ops.h>

تطبيع الاستجابة المحلية.

ملخص

يُعامل موتر input رباعي الأبعاد كمصفوفة ثلاثية الأبعاد من متجهات أحادية البعد (على طول البعد الأخير)، ويتم تطبيع كل متجه بشكل مستقل. ضمن متجه معين، يُقسم كل مكون على مجموع مربعات المدخلات المرجحة ضمن نصف depth_radius . بالتفصيل،

sqr_sum[a, b, c, d] =
    sum(input[a, b, c, d - depth_radius : d + depth_radius + 1] ** 2)
output = input / (bias + alpha * sqr_sum) ** beta

للحصول على التفاصيل، انظر Krizhevsky et al.، تصنيف ImageNet باستخدام الشبكات العصبية التلافيفية العميقة (NIPS 2012) .

الحجج:

السمات الاختيارية (انظر Attrs ):

  • depth_radius: 0-D. نصف عرض نافذة التطبيع أحادية البعد.
  • الانحياز: إزاحة (عادة ما تكون موجبة لتجنب القسمة على 0).
  • ألفا: عامل قياس، وعادة ما يكون موجباً.
  • بيتا: أس.

المرتجعات:

  • Output : موتر الناتج.

البناة والمدمرون

LRN (const :: tensorflow::Scope & scope, :: tensorflow::Input input)
LRN (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const LRN::Attrs & attrs)

السمات العامة

operation
output

الوظائف العامة

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

الدوال الثابتة العامة

Alpha (float x)
Beta (float x)
Bias (float x)
DepthRadius (int64 x)

الهياكل

tensorflow:: ops:: LRN:: Attrs

أدوات تعيين السمات الاختيارية لـ LRN .

السمات العامة

عملية

Operation operation

المخرجات

::tensorflow::Output output

الوظائف العامة

LRN

 LRN(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

LRN

 LRN(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const LRN::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

ألفا

Attrs Alpha(
  float x
)

بيتا

Attrs Beta(
  float x
)

تحيز

Attrs Bias(
  float x
)

نصف قطر العمق

Attrs DepthRadius(
  int64 x
)