Google I/O-তে টিউন করার জন্য ধন্যবাদ। চাহিদা অনুযায়ী সব সেশন দেখুন চাহিদা অনুযায়ী দেখুন

সেন্সরফ্লো :: অপস :: এলআরএন

#include <nn_ops.h>

স্থানীয় প্রতিক্রিয়া সাধারণকরণ।

সারসংক্ষেপ

4-ডি input টেনসরকে 1-ডি ভেক্টরের 3-ডি অ্যারে (শেষ মাত্রা সহ) হিসাবে বিবেচনা করা হয় এবং প্রতিটি ভেক্টরকে স্বাধীনভাবে স্বাভাবিক করা হয়। প্রদত্ত ভেক্টরের মধ্যে, প্রতিটি উপাদানকে depth_radius মধ্যে ইনপুটগুলির 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

বিশদগুলির জন্য, ক্রিজেভস্কি এট আল, ডিপ কনভোলশনাল নিউরাল নেটওয়ার্কগুলির সাথে চিত্রনাট শ্রেণিবদ্ধকরণ (এনআইপিএস 2012) দেখুন

যুক্তি:

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

Attrs বৈশিষ্ট্য ( Attrs ):

  • গভীরতা_প্রাণ: 0-ডি। 1-ডি সাধারণকরণ উইন্ডোর অর্ধ প্রস্থ।
  • পক্ষপাত: একটি অফসেট (সাধারণত 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)

স্ট্রাক্টস

টেনসরফ্লো :: অপ্স :: এলআরএন :: অ্যাটারস

এলআরএন এর জন্য .চ্ছিক বৈশিষ্ট্য নির্ধারক set

জনসাধারণের গুণাবলী

অপারেশন

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
)

DepthRadius

Attrs DepthRadius(
  int64 x
)