tensorflow:: ops:: QuantizeAndDequantizeV3

#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

パブリック静的関数

Axis (int64 x)
NarrowRange (bool x)
RangeGiven (bool x)
SignedInput (bool x)

構造

tensorflow:: ops:: QuantizeAndDequantizeV3:: Attrs

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

公開属性

手術

Operation operation

出力

::tensorflow::Output output

公的機能

QuantizeAndDequantizeV3

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

QuantizeAndDequantizeV3

 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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

軸

Attrs Axis(
  int64 x
)

狭い範囲

Attrs NarrowRange(
  bool x
)

範囲指定

Attrs RangeGiven(
  bool x
)

署名付き入力

Attrs SignedInput(
  bool x
)