tensorflow:: ops:: DecodePng:: Attrs

#include <image_ops.h>

DecodePngのオプション属性セッター。

まとめ

公開属性

channels_ = 0
int64
dtype_ = DT_UINT8
DataType

公的機能

Channels (int64 x)
TF_MUST_USE_RESULT Attrs
デコードされた画像のカラーチャンネル数。
Dtype (DataType x)
TF_MUST_USE_RESULT Attrs
デフォルトはDT_UINT8です。

公開属性

チャンネル_

int64 tensorflow::ops::DecodePng::Attrs::channels_ = 0

dtype_

DataType tensorflow::ops::DecodePng::Attrs::dtype_ = DT_UINT8

公的機能

チャンネル

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodePng::Attrs::Channels(
  int64 x
)

デコードされた画像のカラーチャンネル数。

デフォルト値は0です

データ型

TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodePng::Attrs::Dtype(
  DataType x
)

デフォルトはDT_UINT8です。