OutScaleForInferencePass

class paddle.fluid.contrib.slim.quantization.quantization_pass. OutScaleForInferencePass ( scope=None ) [source]
apply ( graph )

apply

Get output scales from the scope and set these scales in op_descs of operators in the teller_set.

Parameters

graph (IrGraph) – the target graph.