Searched refs:output_offset (Results 1 – 10 of 10) sorted by relevance
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | sub_quantized_different_scales.mod.py | 27 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))
|
D | tanh_v1_2.mod.py | 33 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/ |
D | tanh_quant8_signed.mod.py | 19 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))
|
D | sub_quant8_signed.mod.py | 28 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/ |
D | PRelu.cpp | 74 const int32_t output_offset = outputShape.offset; in evalQuant8() local 88 output_offset + tflite::MultiplyByQuantizedMultiplier( in evalQuant8() 92 output_val = output_offset + in evalQuant8()
|
D | Broadcast.cpp | 134 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()
|
D | Reshape.cpp | 230 {.output_offset = outputShape.offset}, convertShapeToTflshape(inputShape), inputData, in spaceToBatchGeneric()
|
D | FullyConnected.cpp | 168 params.output_offset = outputShape.offset; in fullyConnectedQuant8()
|
D | DepthwiseConv2D.cpp | 226 .output_offset = outputShape.offset, in depthwiseConvNhwc()
|
D | Conv2D.cpp | 488 convParams.output_offset = outputShape.offset; in convQuant8PerChannelNhwc()
|