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 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 )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Открытые статические функции
Max
Attrs Max( float x )
Min
Attrs Min( float x )
NarrowRange
Attrs NarrowRange( bool x )
NumBits
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/api_docs/cc/class/tensorflow/ops/fake-quant-with-min-max-args-gradient