টেনসরফ্লো :: অপস:: QuantizedConv2D

#include <nn_ops.h>

কোয়ান্টাইজড 4D ইনপুট এবং ফিল্টার টেনসর দেওয়া একটি 2D কনভোলিউশন গণনা করে।

সারসংক্ষেপ

ইনপুটগুলি হল কোয়ান্টাইজড টেনসর যেখানে সর্বনিম্ন মান সংশ্লিষ্ট ন্যূনতম প্রকৃত সংখ্যার প্রতিনিধিত্ব করে এবং সর্বোচ্চটি সর্বাধিককে প্রতিনিধিত্ব করে। এর মানে হল যে আপনি শুধুমাত্র একই ভাবে কোয়ান্টাইজড আউটপুট ব্যাখ্যা করতে পারেন, প্রত্যাবর্তিত সর্বনিম্ন এবং সর্বোচ্চ মানগুলিকে বিবেচনায় নিয়ে।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • ফিল্টার: ফিল্টারের ইনপুট_গভীর মাত্রা অবশ্যই ইনপুটের গভীরতার মাত্রার সাথে মিলবে।
  • min_input: ফ্লোট মান যা সর্বনিম্ন পরিমাপযুক্ত ইনপুট মান প্রতিনিধিত্ব করে।
  • max_input: ফ্লোট মান যা সর্বোচ্চ পরিমাপযুক্ত ইনপুট মান প্রতিনিধিত্ব করে।
  • min_filter: ফ্লোট মান যা সর্বনিম্ন পরিমাপযুক্ত ফিল্টার মান প্রতিনিধিত্ব করে।
  • max_filter: ফ্লোট মান যা সর্বোচ্চ পরিমাপযুক্ত ফিল্টার মান প্রতিনিধিত্ব করে।
  • স্ট্রাইডস: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য স্লাইডিং উইন্ডোর অগ্রগতি।
  • প্যাডিং: ব্যবহার করার জন্য প্যাডিং অ্যালগরিদমের ধরন।

ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs ):

  • প্রসারণ: দৈর্ঘ্যের 1-ডি টেনসর 4. input প্রতিটি মাত্রার জন্য প্রসারিত ফ্যাক্টর। k > 1 তে সেট করা হলে, সেই মাত্রার প্রতিটি ফিল্টার উপাদানের মধ্যে k-1 এড়িয়ে যাওয়া ঘর থাকবে। মাত্রার ক্রম data_format এর মান দ্বারা নির্ধারিত হয়, বিশদ বিবরণের জন্য উপরে দেখুন। ব্যাচের প্রসারণ এবং গভীরতার মাত্রা অবশ্যই 1 হতে হবে।

রিটার্ন:

  • Output আউটপুট
  • Output min_output: ফ্লোট মান যা সর্বনিম্ন পরিমাপযুক্ত আউটপুট মান উপস্থাপন করে।
  • Output সর্বাধিক_আউটপুট: ফ্লোট মান যা সর্বোচ্চ পরিমাপযুক্ত আউটপুট মান উপস্থাপন করে।

কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর

QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding)
QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const QuantizedConv2D::Attrs & attrs)

পাবলিক বৈশিষ্ট্য

max_output
min_output
operation
output

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

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

কাঠামো

tensorflow:: ops:: QuantizedConv2D:: Attrs

QuantizedConv2D- এর জন্য ঐচ্ছিক বৈশিষ্ট্য নির্ধারণকারী।

পাবলিক বৈশিষ্ট্য

সর্বোচ্চ_আউটপুট

::tensorflow::Output max_output

min_output

::tensorflow::Output min_output

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

QuantizedConv2D

 QuantizedConv2D(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter,
  ::tensorflow::Input min_input,
  ::tensorflow::Input max_input,
  ::tensorflow::Input min_filter,
  ::tensorflow::Input max_filter,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

QuantizedConv2D

 QuantizedConv2D(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter,
  ::tensorflow::Input min_input,
  ::tensorflow::Input max_input,
  ::tensorflow::Input min_filter,
  ::tensorflow::Input max_filter,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const QuantizedConv2D::Attrs & attrs
)

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

প্রসারণ

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

আউটটাইপ

Attrs OutType(
  DataType x
)