tensorflow::ops::DecodePng::Attrs

#include <image_ops.h>

Pengaturan atribut opsional untuk DecodePng .

Ringkasan

Atribut publik

channels_ = 0
int64
dtype_ = DT_UINT8
DataType

Fungsi publik

Channels (int64 x)
TF_MUST_USE_RESULT Attrs
Jumlah saluran warna untuk gambar yang telah didekode.
Dtype (DataType x)
TF_MUST_USE_RESULT Attrs
Nilai defaultnya adalah DT_UINT8.

Atribut publik

saluran_

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

tipe_

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

Fungsi publik

Saluran

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

Jumlah saluran warna untuk gambar yang telah didekode.

Nilai defaultnya adalah 0.

Tipe D

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

Nilai defaultnya adalah DT_UINT8.