テンソルフロー::作戦::量子化インスタンスノルム

#include <array_ops.h>

量子化されたインスタンスの正規化。

まとめ

引数:

  • スコープ:スコープオブジェクト
  • x: 4D 入力テンソル
  • x_min: 最小の量子化入力によって表される値。
  • x_max: 最大量子化入力によって表される値。

オプションの属性 ( Attrsを参照):

  • Output_range_given: True の場合、 given_y_mingiven_y_mingiven_y_maxが出力範囲として使用されます。それ以外の場合、実装は出力範囲を計算します。
  • Given_y_min: output_range_given True の場合、 y_min出力されます
  • Given_y_max: output_range_given True の場合、 y_max出力されます
  • variance_epsilon: 0 による除算を避けるための小さな浮動小数点数。
  • min_separation: y_max - y_min最小

戻り値:

  • Output y: 4Dテンソル
  • Output y_min: 最低の量子化出力によって表される値。
  • Output y_max: 最高の量子化出力によって表される値。

コンストラクターとデストラクター

QuantizedInstanceNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input x_min, :: tensorflow::Input x_max)
QuantizedInstanceNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input x_min, :: tensorflow::Input x_max, const QuantizedInstanceNorm::Attrs & attrs)

パブリック属性

operation
y
y_max
y_min

パブリック静的関数

GivenYMax (float x)
GivenYMin (float x)
MinSeparation (float x)
OutputRangeGiven (bool x)
VarianceEpsilon (float x)

構造体

tensorflow:: ops:: QuantizedInstanceNorm:: Attrs

QuantizedInstanceNormのオプションの属性セッター。

パブリック属性

手術

Operation operation

y

::tensorflow::Output y

y_max

::tensorflow::Output y_max

y_分

::tensorflow::Output y_min

公共機能

量子化インスタンスノルム

 QuantizedInstanceNorm(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input x_min,
  ::tensorflow::Input x_max
)

量子化インスタンスノルム

 QuantizedInstanceNorm(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input x_min,
  ::tensorflow::Input x_max,
  const QuantizedInstanceNorm::Attrs & attrs
)

パブリック静的関数

ギブンYマックス

Attrs GivenYMax(
  float x
)

与えられたYMin

Attrs GivenYMin(
  float x
)

最小分離

Attrs MinSeparation(
  float x
)

指定された出力範囲

Attrs OutputRangeGiven(
  bool x
)

分散イプシロン

Attrs VarianceEpsilon(
  float x
)