Home
last modified time | relevance | path

Searched refs:output_offset (Results 1 – 10 of 10) 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 … = Output("output0", "TENSOR_QUANT8_ASYMM_SIGNED", "{256}, %g, %d" % (output_scale, output_offset))
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/
DPRelu.cpp74 const int32_t output_offset = outputShape.offset; in evalQuant8() local
88 output_offset + tflite::MultiplyByQuantizedMultiplier( in evalQuant8()
92 output_val = output_offset + in evalQuant8()
DBroadcast.cpp134 const int32_t output_offset = shapeOut.offset; in addQuant8() local
174 op_params.output_offset = output_offset; in addQuant8()
271 const int32_t output_offset = shapeOut.offset; in mulQuant8() local
293 op_params.output_offset = output_offset; in mulQuant8()
343 const int32_t output_offset = shapeOut.offset; in subQuant8() local
386 op_params.output_offset = output_offset; in subQuant8()
DReshape.cpp230 {.output_offset = outputShape.offset}, convertShapeToTflshape(inputShape), inputData, in spaceToBatchGeneric()
DFullyConnected.cpp168 params.output_offset = outputShape.offset; in fullyConnectedQuant8()
DDepthwiseConv2D.cpp226 .output_offset = outputShape.offset, in depthwiseConvNhwc()
DConv2D.cpp488 convParams.output_offset = outputShape.offset; in convQuant8PerChannelNhwc()