tensorflow::ops::FakeQuantWithMinMaxArgsGradient
#include <array_ops.h>
Compute gradients for a FakeQuantWithMinMaxArgs operation.
Summary
Arguments:
- scope: A Scope object
- gradients: Backpropagated gradients above the FakeQuantWithMinMaxArgs operation.
- inputs: Values passed as inputs to the FakeQuantWithMinMaxArgs operation.
Returns:
-
Output
: Backpropagated gradients below the FakeQuantWithMinMaxArgs operation:gradients * (inputs >= min && inputs <= max)
.
Constructors and Destructors | |
---|---|
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) |
Public attributes | |
---|---|
backprops | |
operation |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
Max(float x) | |
Min(float x) | |
NarrowRange(bool x) | |
NumBits(int64 x) |
Structs | |
---|---|
tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs | Optional attribute setters for FakeQuantWithMinMaxArgsGradient. |
Public attributes
backprops
::tensorflow::Output backprops
operation
Operation operation
Public functions
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
Public static functions
Max
Attrs Max( float x )
Min
Attrs Min( float x )
NarrowRange
Attrs NarrowRange( bool x )
NumBits
Attrs NumBits( int64 x )
© 2020 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.4/api_docs/cc/class/tensorflow/ops/fake-quant-with-min-max-args-gradient