tensorflow::ops::DecodePng::Attrs

#include <image_ops.h>

Définiteurs d'attributs optionnels pour DecodePng .

Résumé

attributs publics

channels_ = 0
int64
dtype_ = DT_UINT8
DataType

fonctions publiques

Channels (int64 x)
TF_MUST_USE_RESULT Attrs
Nombre de canaux de couleur pour l'image décodée.
Dtype (DataType x)
TF_MUST_USE_RESULT Attrs
Par défaut, DT_UINT8.

attributs publics

chaînes_

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

dtype_

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

fonctions publiques

Chaînes

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

Nombre de canaux de couleur pour l'image décodée.

Valeur par défaut : 0

Type D

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

Par défaut, DT_UINT8.