tensorflow::ops::ExtractGlimpse::Attrs

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

© 2017 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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部