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