tensorflow:: ops:: DecodeBmp

#include <image_ops.h>

बीएमपी-एनकोडेड छवि के पहले फ्रेम को uint8 टेंसर में डिकोड करें।

सारांश

एट्रीब्यूट channels डिकोड की गई छवि के लिए वांछित रंग चैनलों की संख्या को इंगित करता है।

स्वीकृत मान इस प्रकार हैं:

  • 0: बीएमपी-एनकोडेड छवि में चैनलों की संख्या का उपयोग करें।
  • 3: एक RGB छवि आउटपुट करें।
  • 4: एक आरजीबीए छवि आउटपुट करें।

तर्क:

  • स्कोप: एक स्कोप ऑब्जेक्ट
  • विषयवस्तु: 0-D. बीएमपी-एनकोडेड छवि।

प्रतिफल:

  • Output : [height, width, channels] आकार के साथ 3-डी। RGB क्रम।

कंस्ट्रक्टर और डिस्ट्रक्टर

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)

संरचनाएँ

टेन्सरफ्लो::ऑप्स::डिकोडबीएमपी::एट्रिब्यूट्स

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
)