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

বিস্তারিত জানতে, ক্রিজেভস্কি প্রমুখের “ডিপ কনভল্যুশনাল নিউরাল নেটওয়ার্কের সাহায্যে ইমেজনেট ক্লাসিফিকেশন” (NIPS 2012) দেখুন।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • ইনপুট: ৪-ডি।

ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন Attrs ):

  • depth_radius: 0-D. ১-ডি নর্মালাইজেশন উইন্ডোর অর্ধ-প্রস্থ।
  • বায়াস: একটি অফসেট (সাধারণত ধনাত্মক, যাতে ০ দ্বারা ভাগ করা এড়ানো যায়)।
  • আলফা: একটি স্কেল ফ্যাক্টর, যা সাধারণত ধনাত্মক হয়।
  • বিটা: একটি সূচক।

ফেরত:

  • 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(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

এলআরএন

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

নোড

::tensorflow::Node * node() const 

অপারেটর::টেনসরফ্লো::ইনপুট

 operator::tensorflow::Input() const 

অপারেটর::টেনসরফ্লো::আউটপুট

 operator::tensorflow::Output() const 

পাবলিক স্ট্যাটিক ফাংশন

আলফা

Attrs Alpha(
  float x
)

বিটা

Attrs Beta(
  float x
)

পক্ষপাত

Attrs Bias(
  float x
)

গভীরতার ব্যাসার্ধ

Attrs DepthRadius(
  int64 x
)