tensorflow::ops::DecodePng::Attrs

#include <image_ops.h>

Optional attribute setters for DecodePng.

Summary

Public attributes

channels_ = 0
int64
dtype_ = DT_UINT8
DataType

Public functions

Channels(int64 x)
Number of color channels for the decoded image.
Dtype(DataType x)
Defaults to DT_UINT8.

Public attributes

channels_

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

dtype_

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

Public functions

Channels

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

Number of color channels for the decoded image.

Defaults to 0

Dtype

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

Defaults to DT_UINT8.