#include <image_ops.h>
Optional attribute setters for CropAndResize.
Public attributes | |
---|---|
extrapolation_value_ = 0.0f | float |
method_ = "bilinear" | StringPiece |
Public functions | |
---|---|
ExtrapolationValue(float x) | TF_MUST_USE_RESULT Attrs Value used for extrapolation, when applicable. |
Method(StringPiece x) | TF_MUST_USE_RESULT Attrs A string specifying the interpolation method. |
float tensorflow::ops::CropAndResize::Attrs::extrapolation_value_ = 0.0f
StringPiece tensorflow::ops::CropAndResize::Attrs::method_ = "bilinear"
TF_MUST_USE_RESULT Attrs tensorflow::ops::CropAndResize::Attrs::ExtrapolationValue( float x )
Value used for extrapolation, when applicable.
Defaults to 0
TF_MUST_USE_RESULT Attrs tensorflow::ops::CropAndResize::Attrs::Method( StringPiece x )
A string specifying the interpolation method.
Only 'bilinear' is supported for now.
Defaults to "bilinear"
© 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/crop-and-resize/attrs.html