tensorflow:: אופס:: 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

Dtype

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

ברירת המחדל היא DT_UINT8.