#include <image_ops.h>
Optional attribute setters for QuantizedResizeBilinear.
Public attributes | |
---|---|
align_corners_ = false | bool |
Public functions | |
---|---|
AlignCorners(bool x) | TF_MUST_USE_RESULT Attrs If true, the centers of the 4 corner pixels of the input and output tensors are aligned, preserving the values at the corner pixels. |
bool tensorflow::ops::QuantizedResizeBilinear::Attrs::align_corners_ = false
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedResizeBilinear::Attrs::AlignCorners( bool x )
If true, the centers of the 4 corner pixels of the input and output tensors are aligned, preserving the values at the corner pixels.
Defaults to false.
Defaults to false
© 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/quantized-resize-bilinear/attrs.html