テンソルフロー::作戦::量子化と逆量子化V3

#include <array_ops.h>

テンソルを量子化してから逆量子化します。

まとめ

これはQuantizeAndDequantizeV2とほぼ同じですが、 num_bits がテンソルであるため、その値はトレーニング中に変更される可能性がある点が異なります。

引数:

戻り値:

  • Output : 出力テンソル。

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

QuantizeAndDequantizeV3 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input num_bits)
QuantizeAndDequantizeV3 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input num_bits, const QuantizeAndDequantizeV3::Attrs & attrs)

パブリック属性

operation
output

公共機能

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

パブリック静的関数

NarrowRange (bool x)
RangeGiven (bool x)
SignedInput (bool x)

構造体

tensorflow:: ops:: QuantizeAndDequantizeV3:: Attrs

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

パブリック属性

手術

Operation operation

出力

::tensorflow::Output output

公共機能

量子化と逆量子化V3

 QuantizeAndDequantizeV3(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input input_min,
  ::tensorflow::Input input_max,
  ::tensorflow::Input num_bits
)

量子化と逆量子化V3

 QuantizeAndDequantizeV3(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input input_min,
  ::tensorflow::Input input_max,
  ::tensorflow::Input num_bits,
  const QuantizeAndDequantizeV3::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

狭い範囲

Attrs NarrowRange(
  bool x
)

範囲指定

Attrs RangeGiven(
  bool x
)

署名付き入力

Attrs SignedInput(
  bool x
)