aliran tensor:: operasi:: DekodePng:: Attr

#include <image_ops.h>

Penyetel 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 didekodekan.
Dtype (DataType x)
TF_MUST_USE_RESULT Attrs
Defaultnya adalah DT_UINT8.

Atribut publik

saluran_

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

tipe_d

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 didekodekan.

Defaultnya adalah 0

Tipe D

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

Defaultnya adalah DT_UINT8.