@Operator 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 and Description |
|---|---|
static <T> RequantizationRange |
create(Scope scope,
Operand<T> input,
Operand<Float> inputMin,
Operand<Float> inputMax)
Factory method to create a class to wrap a new RequantizationRange operation to the graph.
|
Output<Float> |
outputMax()
the computed max output.
|
Output<Float> |
outputMin()
The computed min output.
|
equals, hashCode, toStringpublic static <T> RequantizationRange create(Scope scope, Operand<T> input, Operand<Float> inputMin, Operand<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.Copyright © 2015–2019. All rights reserved.