tensorflow::ops::QuantizedInstanceNorm::Attrs

tensorflow::ops::QuantizedInstanceNorm::Attrs

#include <array_ops.h>

Optional attribute setters for QuantizedInstanceNorm.

Summary

Public attributes
given_y_max_ = 0.0f
float
given_y_min_ = 0.0f
float
min_separation_ = 0.001f
float
output_range_given_ = false
bool
variance_epsilon_ = 1e-05f
float
Public functions
GivenYMax(float x)
Output in y_max if output_range_given is True.
GivenYMin(float x)
Output in y_min if output_range_given is True.
MinSeparation(float x)
Minimum value of y_max - y_min
OutputRangeGiven(bool x)
If True, given_y_min and given_y_min and given_y_max are used as the output range.
VarianceEpsilon(float x)
A small float number to avoid dividing by 0.

Public attributes

given_y_max_

float tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_max_ = 0.0f

given_y_min_

float tensorflow::ops::QuantizedInstanceNorm::Attrs::given_y_min_ = 0.0f

min_separation_

float tensorflow::ops::QuantizedInstanceNorm::Attrs::min_separation_ = 0.001f

output_range_given_

bool tensorflow::ops::QuantizedInstanceNorm::Attrs::output_range_given_ = false

variance_epsilon_

float tensorflow::ops::QuantizedInstanceNorm::Attrs::variance_epsilon_ = 1e-05f

Public functions

GivenYMax

Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMax(
  float x
)

Output in y_max if output_range_given is True.

Defaults to 0

GivenYMin

Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::GivenYMin(
  float x
)

Output in y_min if output_range_given is True.

Defaults to 0

MinSeparation

Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::MinSeparation(
  float x
)

Minimum value of y_max - y_min

Defaults to 0.001

OutputRangeGiven

Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::OutputRangeGiven(
  bool x
)

If True, given_y_min and given_y_min and given_y_max are used as the output range.

Otherwise, the implementation computes the output range.

Defaults to false

VarianceEpsilon

Attrs tensorflow::ops::QuantizedInstanceNorm::Attrs::VarianceEpsilon(
  float x
)

A small float number to avoid dividing by 0.

Defaults to 1e-05

© 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/quantized-instance-norm/attrs.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部