टेंसरफ़्लो:: ऑप्स:: डिकोडपीएनजी:: 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 पर डिफ़ॉल्ट।