Halaman ini diterjemahkan oleh Cloud Translation API.
Switch to English

tensorflow :: ops :: FakeQuantWithMinMaxVarsPerChannelGradient

#include <array_ops.h>

Hitung gradien untuk operasi FakeQuantWithMinMaxVarsPerChannel .

Ringkasan

Argumen:

Atribut opsional (lihat Attrs ):

  • num_bits: Lebar bit kuantisasi; antara 2 dan 16, inklusif.
  • narrow_range: Apakah akan menghitung menjadi 2 ^ num_bits - 1 nilai yang berbeda.

Pengembalian:

  • Output backprops_wrt_input: Gradien mundur wrt input, bentuk sama seperti inputs : gradients * (inputs >= min && inputs <= max) .
  • Output backprop_wrt_min: Gradien mundur wrt parameter min, bentuk [d] : sum_per_d(gradients * (inputs < min)) .
  • Output backprop_wrt_max: Gradien yang sum_per_d(gradients * (inputs > max)) wrt parameter maks, bentuk [d] : sum_per_d(gradients * (inputs > max)) .

Pembuat dan Penghancur

FakeQuantWithMinMaxVarsPerChannelGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max)
FakeQuantWithMinMaxVarsPerChannelGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max, const FakeQuantWithMinMaxVarsPerChannelGradient::Attrs & attrs)

Atribut publik

backprop_wrt_max
backprop_wrt_min
backprops_wrt_input
operation

Fungsi statis publik

NarrowRange (bool x)
NumBits (int64 x)

Structs

tensorflow :: ops :: FakeQuantWithMinMaxVarsPerChannelGradient :: Attrs

Penyetel atribut opsional untuk FakeQuantWithMinMaxVarsPerChannelGradient .

Atribut publik

backprop_wrt_max

::tensorflow::Output backprop_wrt_max

backprop_wrt_min

::tensorflow::Output backprop_wrt_min

backprops_wrt_input

::tensorflow::Output backprops_wrt_input

operasi

Operation operation

Fungsi publik

FakeQuantWithMinMaxVarsPerChannelGradient

 FakeQuantWithMinMaxVarsPerChannelGradient(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input gradients,
  ::tensorflow::Input inputs,
  ::tensorflow::Input min,
  ::tensorflow::Input max
)

FakeQuantWithMinMaxVarsPerChannelGradient

 FakeQuantWithMinMaxVarsPerChannelGradient(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input gradients,
  ::tensorflow::Input inputs,
  ::tensorflow::Input min,
  ::tensorflow::Input max,
  const FakeQuantWithMinMaxVarsPerChannelGradient::Attrs & attrs
)

Fungsi statis publik

NarrowRange

Attrs NarrowRange(
  bool x
)

NumBits

Attrs NumBits(
  int64 x
)