Home
last modified time | relevance | path

Searched refs:output_scale (Results 1 – 6 of 6) sorted by relevance

/frameworks/ml/nn/runtime/test/specs/V1_2/
Dsub_quantized_different_scales.mod.py27 output_scale, output_offset): argument
31 return quantize(a_dequantized - b_dequantized, output_scale, output_offset)
44 "{%d}, %g, %d" % (size, output_scale, output_offset))
Dtanh_v1_2.mod.py33 output_scale, output_offset = 1.0 / 128, 128 # Required. variable
39 return max(0, min(255, int(round(x / output_scale)) + output_offset))
42 output0 = Output("output0", "TENSOR_QUANT8_ASYMM", "{256}, %g, %d" % (output_scale, output_offset))
/frameworks/ml/nn/runtime/test/specs/V1_3/
Dtanh_quant8_signed.mod.py19 output_scale, output_offset = 1.0 / 128, 0 # Required. variable
25 return max(-128, min(127, int(round(x / output_scale)) + output_offset))
28 output0 = Output("output0", "TENSOR_QUANT8_ASYMM_SIGNED", "{256}, %g, %d" % (output_scale, output_o…
Dsub_quant8_signed.mod.py28 output_scale, output_offset): argument
32 return quantize(a_dequantized - b_dequantized, output_scale, output_offset)
45 "{%d}, %g, %d" % (size, output_scale, output_offset))
/frameworks/ml/nn/common/operations/
DActivation.cpp334 const float output_scale = outputShape.scale; in hardSwishQuant() local
336 const float output_multiplier = hires_input_scale / output_scale; in hardSwishQuant()
/frameworks/ml/nn/tools/api/
Dtypes.spec1041 * condition must be satisfied: output_scale > input_scale * filter_scale.
1800 * output_scale > input1_scale * input2_scale.
1804 * output_scale > input1_scale * input2_scale.