tensorflow:: ops:: DecodeBmp

#include <image_ops.h>

একটি BMP-এনকোডেড ছবির প্রথম ফ্রেমকে একটি uint8 টেনসরে ডিকোড করুন।

সারসংক্ষেপ

attr channels ডিকোড করা ছবির জন্য কাঙ্ক্ষিত কালার চ্যানেলের সংখ্যা নির্দেশ করে।

গ্রহণযোগ্য মানগুলো হলো:

  • ০: বিএমপি-এনকোডেড ইমেজের চ্যানেল সংখ্যা ব্যবহার করুন।
  • ৩: একটি RGB ছবি আউটপুট করুন।
  • ৪: একটি RGBA ইমেজ আউটপুট করুন।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • বিষয়বস্তু: ০-ডি. বিএমপি-এনকোডেড চিত্র।

ফেরত:

  • Output : [height, width, channels] আকৃতির ত্রিমাত্রিক। আরজিবি ক্রম

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

DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents)
DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const DecodeBmp::Attrs & attrs)

জনসাধারণের বৈশিষ্ট্য

image
operation

জনসাধারণের কার্যাবলী

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

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

Channels (int64 x)

কাঠামো

tensorflow:: ops:: DecodeBmp:: Attrs

DecodeBmp-এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।

জনসাধারণের বৈশিষ্ট্য

ছবি

::tensorflow::Output image

অপারেশন

Operation operation

জনসাধারণের কার্যাবলী

ডিকোডবিএমপি

 DecodeBmp(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input contents
)

ডিকোডবিএমপি

 DecodeBmp(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input contents,
  const DecodeBmp::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

চ্যানেল

Attrs Channels(
  int64 x
)