Returns the gradient of QuantizeAndDequantizeV4
.
tf.raw_ops.QuantizeAndDequantizeV4Grad(
gradients, input, input_min, input_max, axis=-1, name=None
)
Returns a gradient of 1 for inputs that are within the quantization range, or 0 otherwise.
Args | |
---|---|
gradients
|
A Tensor . Must be one of the following types: bfloat16 , half , float32 , float64 .
|
input
|
A Tensor . Must have the same type as gradients .
|
input_min
|
A Tensor . Must have the same type as gradients .
|
input_max
|
A Tensor . Must have the same type as gradients .
|
axis
|
An optional int . Defaults to -1 .
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
A tuple of Tensor objects (input_backprop, input_min_backprop, input_max_backprop).
|
|
input_backprop
|
A Tensor . Has the same type as gradients .
|
input_min_backprop
|
A Tensor . Has the same type as gradients .
|
input_max_backprop
|
A Tensor . Has the same type as gradients .
|