tensorflow::ops::FakeQuantWithMinMaxArgsGradient
#include <array_ops.h>
Вычисление градиентов для операции FakeQuantWithMinMaxArgs.
Краткое описание
Аргументы:
- scope: Объект Scope
- gradients: Градиенты обратного распространения выше операции FakeQuantWithMinMaxArgs.
- inputs: Значения, переданные в качестве входных данных для операции FakeQuantWithMinMaxArgs.
Возвращает:
-
Output: Градиенты обратного распространения ниже операции FakeQuantWithMinMaxArgs:gradients * (inputs >= min && inputs <= max).
| Конструкторы и деструкторы | |
|---|---|
FakeQuantWithMinMaxArgsGradient(const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs) | |
FakeQuantWithMinMaxArgsGradient(const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, const FakeQuantWithMinMaxArgsGradient::Attrs & attrs) |
| Публичные атрибуты | |
|---|---|
backprops | |
operation | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Публичные статические функции | |
|---|---|
Max(float x) | |
Min(float x) | |
NarrowRange(bool x) | |
NumBits(int64 x) | |
| Структуры | |
|---|---|
| tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs | Дополнительные атрибуты-установщики для FakeQuantWithMinMaxArgsGradient. |
Публичные атрибуты
backprops
::tensorflow::Output backprops
операция
Operation operation
Публичные функции
FakeQuantWithMinMaxArgsGradient
FakeQuantWithMinMaxArgsGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs )
FakeQuantWithMinMaxArgsGradient
FakeQuantWithMinMaxArgsGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, const FakeQuantWithMinMaxArgsGradient::Attrs & attrs )
узел
::tensorflow::Node * node() const
оператор::tensorflow::Input
operator::tensorflow::Input() const
оператор::tensorflow::Output
operator::tensorflow::Output() const
Публичные статические функции
Максимум
Attrs Max( float x )
Минимум
Attrs Min( float x )
Узкий диапазон
Attrs NarrowRange( bool x )
Количество бит
Attrs NumBits( int64 x )
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/cc/class/tensorflow/ops/fake-quant-with-min-max-args-gradient