tensorflow:: ops:: ExtractJpegShape
#include <image_ops.h>JPEG形式でエンコードされた画像の形状情報を抽出します。
まとめ
この操作は画像ヘッダーのみを解析するため、 DecodeJpegよりもはるかに高速です。
議論:
- スコープ:スコープオブジェクト
- 内容:0次元。JPEGエンコードされた画像。
オプション属性( Attrs参照):
- output_type: (オプション) 演算の出力型 (int32 または int64)。デフォルトは int32 です。
返品:
-
Output:1次元。画像の形状は[高さ、幅、チャンネル数]の形式で出力されます。
コンストラクターとデストラクタ | |
|---|---|
ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents) | |
ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const ExtractJpegShape::Attrs & attrs) |
公開属性 | |
|---|---|
image_shape | |
operation | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
パブリック静的関数 | |
|---|---|
OutputType (DataType x) | |
構造 | |
|---|---|
| tensorflow:: ops:: ExtractJpegShape:: Attrs | ExtractJpegShapeのオプション属性設定子。 |
公開属性
画像の形状
::tensorflow::Output image_shape
手術
Operation operation
公的機能
JPEG形状を抽出
ExtractJpegShape( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
JPEG形状を抽出
ExtractJpegShape( const ::tensorflow::Scope & scope, ::tensorflow::Input contents, const ExtractJpegShape::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
パブリック静的関数
出力タイプ
Attrs OutputType( DataType x )