tensorflow::ops::DecodePng::Attrs

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.

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/decode-png/attrs.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部