Op@Operator(group="quantization") public final class RequantizationRange extends PrimitiveOp
range that covers the actual values present in that tensor. This op is typically used to produce the requested_output_min and requested_output_max for Requantize.
operation| Modifier and Type | Method | Description |
|---|---|---|
static <T> RequantizationRange |
create(Scope scope,
Operand<T> input,
Operand<java.lang.Float> inputMin,
Operand<java.lang.Float> inputMax) |
Factory method to create a class to wrap a new RequantizationRange operation to the graph.
|
Output<java.lang.Float> |
outputMax() |
the computed max output.
|
Output<java.lang.Float> |
outputMin() |
The computed min output.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static <T> RequantizationRange create(Scope scope, Operand<T> input, Operand<java.lang.Float> inputMin, Operand<java.lang.Float> inputMax)
scope - current graph scopeinput - inputMin - The float value that the minimum quantized input value represents.inputMax - The float value that the maximum quantized input value represents.public Output<java.lang.Float> outputMin()
public Output<java.lang.Float> outputMax()