Home
last modified time | relevance | path

Searched refs:output_offset (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Virtualization/authfs/src/
Dfile.rs44 let mut output_offset = offset; in write_all_at() localVariable
46 let size = self.write_at(&buf[input_offset..], output_offset)?; in write_all_at()
48 output_offset += size as u64; in write_all_at()
/packages/modules/NeuralNetworks/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))
/packages/modules/NeuralNetworks/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))
/packages/modules/Virtualization/authfs/src/fsverity/
Deditor.rs172 for (output_offset, current_size) in in write_at()
179 let offset_in_buf = (output_offset - offset) as usize; in write_at()
181 let output_chunk_index = (output_offset / CHUNK_SIZE) as usize; in write_at()
182 let offset_from_alignment = (output_offset % CHUNK_SIZE) as usize; in write_at()
196 let written = output_offset - offset; in write_at()
209 self.file.write_all_at(&source, output_offset)?; in write_at()
/packages/modules/NeuralNetworks/common/operations/
DBroadcast.cpp137 const int32_t output_offset = shapeOut.offset; in addQuant8() local
177 op_params.output_offset = output_offset; in addQuant8()
274 const int32_t output_offset = shapeOut.offset; in mulQuant8() local
296 op_params.output_offset = output_offset; in mulQuant8()
346 const int32_t output_offset = shapeOut.offset; in subQuant8() local
389 op_params.output_offset = output_offset; in subQuant8()
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()
DReshape.cpp230 {.output_offset = outputShape.offset}, convertShapeToTflshape(inputShape), inputData, in spaceToBatchGeneric()
DFullyConnected.cpp169 params.output_offset = outputShape.offset; in fullyConnectedQuant8()
DDepthwiseConv2D.cpp228 .output_offset = outputShape.offset, in depthwiseConvNhwc()
DConv2D.cpp489 convParams.output_offset = outputShape.offset; in convQuant8PerChannelNhwc()