W3cubDocs

/TensorFlow C++

tensorflow::ops::ExtractJpegShape::Attrs

#include <image_ops.h>

Optional attribute setters for ExtractJpegShape.

Summary

Public attributes
output_type_ = DT_INT32
DataType
Public functions
OutputType(DataType x)
TF_MUST_USE_RESULT Attrs
(Optional) The output type of the operation (int32 or int64).

Public attributes

output_type_

DataType tensorflow::ops::ExtractJpegShape::Attrs::output_type_ = DT_INT32

Public functions

OutputType

TF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractJpegShape::Attrs::OutputType(
  DataType x
)

(Optional) The output type of the operation (int32 or int64).

Defaults to int32.

Defaults to DT_INT32

© 2018 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/extract-jpeg-shape/attrs.html