tensorflow:: ops:: DecodeBmp
#include <image_ops.h>BMP形式でエンコードされた画像の最初のフレームをuint8テンソルにデコードします。
まとめ
attr channels 、デコードされた画像に必要なカラーチャンネルの数を示します。
許容される値は以下のとおりです。
- 0: BMPエンコードされた画像のチャンネル数を使用します。
- 3:RGB画像を出力する。
- 4:RGBA画像を出力する。
議論:
- スコープ:スコープオブジェクト
- 内容:0次元。BMPエンコードされた画像。
返品:
-
Output:形状[height, width, channels]の3Dデータ。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) | |
構造 | |
|---|---|
| tensorflow:: ops:: DecodeBmp:: Attrs | DecodeBmpのオプション属性設定子。 |
公開属性
画像
::tensorflow::Output image
手術
Operation operation
公的機能
DecodeBmp
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
DecodeBmp
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents, const DecodeBmp::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
パブリック静的関数
チャンネル
Attrs Channels( int64 x )