#include <image_ops.h>
Optional attribute setters for ExtractGlimpse.
Public attributes | |
---|---|
centered_ = true | bool |
normalized_ = true | bool |
uniform_noise_ = true | bool |
Public functions | |
---|---|
Centered(bool x) | TF_MUST_USE_RESULT Attrs indicates if the offset coordinates are centered relative to the image, in which case the (0, 0) offset is relative to the center of the input images. |
Normalized(bool x) | TF_MUST_USE_RESULT Attrs indicates if the offset coordinates are normalized. |
UniformNoise(bool x) | TF_MUST_USE_RESULT Attrs indicates if the noise should be generated using a uniform distribution or a Gaussian distribution. |
bool tensorflow::ops::ExtractGlimpse::Attrs::centered_ = true
bool tensorflow::ops::ExtractGlimpse::Attrs::normalized_ = true
bool tensorflow::ops::ExtractGlimpse::Attrs::uniform_noise_ = true
TF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractGlimpse::Attrs::Centered( bool x )
indicates if the offset coordinates are centered relative to the image, in which case the (0, 0) offset is relative to the center of the input images.
If false, the (0,0) offset corresponds to the upper left corner of the input images.
Defaults to true
TF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractGlimpse::Attrs::Normalized( bool x )
indicates if the offset coordinates are normalized.
Defaults to true
TF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractGlimpse::Attrs::UniformNoise( bool x )
indicates if the noise should be generated using a uniform distribution or a Gaussian distribution.
Defaults to true
© 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-glimpse/attrs.html