সেন্সরফ্লো :: অপস :: কনভ 2 ডিব্যাকপ্রপ ফিল্টার

#include <nn_ops.h>

ফিল্টারটি সম্মানের সাথে সমাবর্তনের গ্রেডিয়েন্টগুলি গণনা করে।

সারসংক্ষেপ

যুক্তি:

  • সুযোগ: একটি স্কোপ অবজেক্ট
  • ইনপুট: 4-ডি আকৃতির সাথে [batch, in_height, in_width, in_channels]
  • ফিল্টার_সাইজ: filter টেনসর আকৃতির প্রতিনিধিত্বকারী একটি পূর্ণসংখ্যার ভেক্টর, যেখানে filter একটি 4-ডি [filter_height, filter_width, in_channels, out_channels] টেনসর।
  • আউট_ব্যাক্রপ: 4-ডি আকৃতির সাথে [batch, out_height, out_width, out_channels] গ্রেডিয়েন্টগুলি সমঝোতার ফলাফলকে কব্জি করে।
  • স্ট্রাইডস: কনভোলজ ইনপুটটির প্রতিটি মাত্রার জন্য স্লাইডিং উইন্ডোর স্ট্রাইড। বিন্যাসের সাথে নির্দিষ্ট মাত্রা হিসাবে একই ক্রমে হওয়া আবশ্যক।
  • প্যাডিং: প্যাডিং অ্যালগরিদমের ধরণটি।

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

  • স্পষ্টত_প্যাডিংস: padding যদি "EXPLICIT" তবে সুস্পষ্ট প্যাডিংয়ের পরিমাণের তালিকা। আইথ ডাইমেনশনের জন্য, মাত্রার আগে এবং পরে প্যাডিংয়ের পরিমাণ respectivelyোকানো হয় যথাক্রমে explicit_paddings[2 * i] এবং explicit_paddings[2 * i + 1] । তাহলে padding নয় "EXPLICIT" , explicit_paddings খালি হতে হবে।
  • ডেটা_ফর্ম্যাট: ইনপুট এবং আউটপুট ডেটার ডেটা ফর্ম্যাট উল্লেখ করুন। ডিফল্ট ফর্ম্যাট "এনএইচডব্লিউসি" এর সাথে ডেটাটি এই ক্রমে সংরক্ষণ করা হয়: [ব্যাচ, ইনহাইট, ইন_উইথ, ইন_চ্যানেলস]। বিকল্পভাবে, ফর্ম্যাটটি "এনসিএইচডাব্লু" হতে পারে, এর ডেটা স্টোরেজ ক্রম: [ব্যাচ, ইন_চ্যানেলস, ইনহাইট, ইন_ওয়াইথ]।
  • প্রসারণ: দৈর্ঘ্যের 1-ডি সেন্সর 4 input প্রতিটি মাত্রার জন্য বিভক্তকরণ ফ্যাক্টর। যদি কে> 1 তে সেট করা থাকে, সেই মাত্রায় প্রতিটি ফিল্টার উপাদানগুলির মধ্যে k-1 এড়িয়ে যাওয়া ঘর থাকবে। মাত্রা data_format মান দ্বারা নির্ধারিত হয়, data_format জন্য উপরে দেখুন। ব্যাচে ডায়ালেশন এবং গভীরতার মাত্রা 1 হতে হবে।

রিটার্নস:

  • Output : 4-ডি আকৃতির [filter_height, filter_width, in_channels, out_channels] সমীকরণের filter ইনপুট গ্রেডিয়েন্ট রিট।

নির্মাণকারী এবং ধ্বংসকারী

Conv2DBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding)
Conv2DBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const Conv2DBackpropFilter::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

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

DataFormat (StringPiece x)
Dilations (const gtl::ArraySlice< int > & x)
ExplicitPaddings (const gtl::ArraySlice< int > & x)
UseCudnnOnGpu (bool x)

স্ট্রাক্টস

টেনসরফ্লো :: অপ্স :: কনভ 2 ডিব্যাকপ্রপ ফিল্টার :: অ্যাটার্স

Conv2DBackpropFilter এর জন্য .চ্ছিক বৈশিষ্ট্য সেটটার

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

কনভ 2 ডিব্যাকপ্রপ ফিল্টার

 Conv2DBackpropFilter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter_sizes,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

কনভ 2 ডিব্যাকপ্রপ ফিল্টার

 Conv2DBackpropFilter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter_sizes,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const Conv2DBackpropFilter::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

উপাত্ত বিন্যাস

Attrs DataFormat(
  StringPiece x
)

প্রসারণ

Attrs Dilations(
  const gtl::ArraySlice< int > & x
)

সুস্পষ্টপ্যাডিংস

Attrs ExplicitPaddings(
  const gtl::ArraySlice< int > & x
)

ইউজকডনঅনজিপু

Attrs UseCudnnOnGpu(
  bool x
)