tensorflow:: ops:: ExtractGlimpse:: Attrs
#include <image_ops.h>
Optional attribute setters for ExtractGlimpse.
Summary
Public attributes |
|
---|---|
centered_ = true
|
bool
|
noise_ = "uniform"
|
StringPiece
|
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.
|
Noise(StringPiece x)
|
TF_MUST_USE_RESULT Attrs
indicates if the noise should
uniform , gaussian , or zero . |
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.
|
Public attributes
centered_
bool tensorflow::ops::ExtractGlimpse::Attrs::centered_ = true
noise_
StringPiece tensorflow::ops::ExtractGlimpse::Attrs::noise_ = "uniform"
normalized_
bool tensorflow::ops::ExtractGlimpse::Attrs::normalized_ = true
uniform_noise_
bool tensorflow::ops::ExtractGlimpse::Attrs::uniform_noise_ = true
Public functions
Centered
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
Noise
TF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractGlimpse::Attrs::Noise( StringPiece x )
indicates if the noise should uniform
, gaussian
, or zero
.
The default is uniform
which means the noise type will be decided by uniform_noise
.
Defaults to "uniform"
Normalized
TF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractGlimpse::Attrs::Normalized( bool x )
indicates if the offset coordinates are normalized.
Defaults to true
UniformNoise
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