Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::FakeQuantWithMinMaxVarsGradient

#include <array_ops.h>

Вычислять градиенты для операции FakeQuantWithMinMaxVars.

Краткое описание

Аргументы:

  • scope: Объект Scope
  • gradients: Градиенты обратного распространения, вычисленные выше операции FakeQuantWithMinMaxVars.
  • inputs: Значения, переданные в качестве входных данных в операцию FakeQuantWithMinMaxVars. min, max: интервал квантования, скалярные числа с плавающей точкой.

Дополнительные атрибуты (см. Attrs):

  • num_bits: Разрядность квантования; от 2 до 8 включительно.
  • narrow_range: Признак квантования в 2^num_bits - 1 различных значениях.

Возвращает:

  • Output backprops_wrt_input: Градиенты обратного распространения по входным данным: gradients * (inputs >= min && inputs <= max).
  • Output backprop_wrt_min: Градиенты обратного распространения по параметру min: sum(gradients * (inputs < min)).
  • Output backprop_wrt_max: Градиенты обратного распространения по параметру max: sum(gradients * (inputs > max)).
Конструкторы и деструкторы
FakeQuantWithMinMaxVarsGradient(const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max)
FakeQuantWithMinMaxVarsGradient(const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max, const FakeQuantWithMinMaxVarsGradient::Attrs & attrs)
Общедоступные атрибуты
backprop_wrt_max
::tensorflow::Output
backprop_wrt_min
::tensorflow::Output
backprops_wrt_input
::tensorflow::Output
operation
Operation
Общедоступные статические функции
NarrowRange(bool x)
Attrs
NumBits(int64 x)
Attrs
Структуры
tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs

Дополнительные атрибуты для FakeQuantWithMinMaxVarsGradient.

Общедоступные атрибуты

backprop_wrt_max

::tensorflow::Output backprop_wrt_max

backprop_wrt_min

::tensorflow::Output backprop_wrt_min

backprops_wrt_input

::tensorflow::Output backprops_wrt_input

операция

Operation operation

Общедоступные функции

FakeQuantWithMinMaxVarsGradient

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

FakeQuantWithMinMaxVarsGradient

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

Общедоступные статические функции

NarrowRange

Attrs NarrowRange(
  bool x
)

NumBits

Attrs NumBits(
  int64 x
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/fake-quant-with-min-max-vars-gradient

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API