FakeQuantWithMinMaxArgsGradient
tensorflow C++ API
tensorflow::ops::FakeQuantWithMinMaxArgsGradient
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)
.
FakeQuantWithMinMaxArgsGradient block
Source link :https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_array_ops.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
- Input
inputs
: A Tensor of typefloat
. - Attr
attrs
: An optional attribute value- min : An optional float. Defaults to -6.
- max : An optional float. Defaults to 6.
- num_bits : An optional int. Defaults to 8.
Attrs use ex)
Output:
- output : Output object of FakeQuantWithMinMaxArgsGradient class object.
Result:
- std::vector(Tensor) result_output : A
Tensor
of typefloat
operation:gradients * (inputs >= min && inputs <= max)
. .
Using Method
※