تدفق التوتر:: العمليات:: فك تشفيرBmp
#include <image_ops.h>
قم بفك تشفير الإطار الأول من الصورة المشفرة بـ BMP إلى موتر uint8.
ملخص
تشير channels
attr إلى العدد المطلوب من قنوات الألوان للصورة التي تم فك تشفيرها.
القيم المقبولة هي:
- 0: استخدم عدد القنوات في الصورة المشفرة بـ BMP.
- 3: إخراج صورة RGB.
- 4: إخراج صورة RGBA.
الحجج:
- النطاق: كائن النطاق
- المحتويات: 0-د. الصورة المشفرة بـ BMP.
العوائد:
-
Output
: ثلاثي الأبعاد بالشكل[height, width, channels]
. ترتيب RGB
البنائين والمدمرين | |
---|---|
DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents) | |
DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const DecodeBmp::Attrs & attrs) |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
الهياكل | |
---|---|
Tensorflow:: ops:: DecodeBmp:: Attrs | محددات السمات الاختيارية لـ DecodeBmp . |
الصفات العامة
صورة
::tensorflow::Output image
عملية
Operation operation
الوظائف العامة
فك تشفيرBmp
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
فك تشفيرBmp
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents, const DecodeBmp::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
القنوات
Attrs Channels( int64 x )