aliran tensor:: operasi:: QuantizeAndDequantizeV3

#include <array_ops.h>

Mengkuantisasi lalu mendekuantisasi tensor.

Ringkasan

Ini hampir identik dengan QuantizeAndDequantizeV2 , hanya saja num_bits adalah tensor, sehingga nilainya dapat berubah selama pelatihan.

Argumen:

Pengembalian:

Konstruktor dan Destruktor

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)

Atribut publik

operation
output

Fungsi publik

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

Fungsi statis publik

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

Struktur

tensorflow:: ops:: QuantizeAndDequantizeV3:: Attrs

Penyetel atribut opsional untuk QuantizeAndDequantizeV3 .

Atribut publik

operasi

Operation operation

keluaran

::tensorflow::Output output

Fungsi publik

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
)

simpul

::tensorflow::Node * node() const 

operator::tensorflow::Masukan

 operator::tensorflow::Input() const 

operator::tensorflow::Keluaran

 operator::tensorflow::Output() const 

Fungsi statis publik

Sumbu

Attrs Axis(
  int64 x
)

Rentang Sempit

Attrs NarrowRange(
  bool x
)

Rentang Diberikan

Attrs RangeGiven(
  bool x
)

Masukan yang Ditandatangani

Attrs SignedInput(
  bool x
)