tensorflow::ops::ExtractGlimpse::Attrs

#include <image_ops.h>

Optional attribute setters for ExtractGlimpse.

Summary

Public attributes

centered_ = true
bool
normalized_ = true
bool
uniform_noise_ = true
bool

Public functions

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.
Normalized(bool x)
indicates if the offset coordinates are normalized.
UniformNoise(bool x)
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

normalized_

bool tensorflow::ops::ExtractGlimpse::Attrs::normalized_ = true

uniform_noise_

bool tensorflow::ops::ExtractGlimpse::Attrs::uniform_noise_ = true

Public functions

Centered

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

Normalized

Attrs tensorflow::ops::ExtractGlimpse::Attrs::Normalized(
  bool x
)

indicates if the offset coordinates are normalized.

Defaults to true

UniformNoise

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