Home
last modified time | relevance | path

Searched refs:inputOffset (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrYuvLuminanceSource.java46 int inputOffset = top * mWidth + left; in crop() local
53 System.arraycopy(mYuvData, inputOffset, newImage, y * crop_width, crop_width); in crop()
54 inputOffset += mWidth; in crop()
/packages/modules/NeuralNetworks/common/operations/
DConv2D.cpp233 int32_t inputOffset = -inputShape.offset; in convNhwc()
264 tflite::optimized_ops::Conv(inputData, convertShapeToDims(inputShape), inputOffset, filterData, in convNhwc()
373 int32_t inputOffset = -inputShape.offset; in convQuant8PerChannelNhwc() local
423 inputOffset); in convQuant8PerChannelNhwc()
466 int32_t inputOffset = -inputShape.offset; in convQuant8PerChannelNhwc() local
605 int inputOffset = withExplicitPadding ? 3 : 0; in validate() local
606 if (inputCount >= 8 + inputOffset) { in validate()
610 NN_RET_CHECK_NE(inputCount, 9 + inputOffset) in validate()
613 if (inputCount == 10 + inputOffset) { in validate()
DSlice.cpp69 uint32_t inputOffset; in evalGeneric() local
75 NN_RET_CHECK(indexedInput.indexToFlatIndex(inputIndex, &inputOffset)); in evalGeneric()
77 outputData[outputOffset] = inputData[inputOffset]; in evalGeneric()
DGroupedConv2D.cpp113 int32_t inputOffset = -inputShape.offset; in groupedConvQuant8() local
158 inputOffset); in groupedConvQuant8()
210 int32_t inputOffset = -inputShape.offset; in groupedConvQuant8PerChannel() local
261 inputOffset); in groupedConvQuant8PerChannel()
DDepthwiseConv2D.cpp300 int32_t inputOffset = -inputShape.offset; in depthwiseConvQuant8PerChannelNhwc() local
350 inputOffset); in depthwiseConvQuant8PerChannelNhwc()
488 int inputOffset = withExplicitPadding ? 3 : 0; in validate() local
489 if (numInputs >= 9 + inputOffset) { in validate()
493 NN_RET_CHECK_NE(numInputs, 10 + inputOffset) in validate()
496 if (numInputs == 11 + inputOffset) { in validate()
DTransposeConv2D.cpp203 int32_t inputOffset = -inputShape.offset; in transposeConvNhwc() local
246 (static_cast<int32_t>(*inputPtr) + inputOffset) * in transposeConvNhwc()
339 int32_t inputOffset = -inputShape.offset; in transposeConvQuant8PerChannelNhwc() local
388 (static_cast<int32_t>(*inputPtr) + inputOffset) * in transposeConvQuant8PerChannelNhwc()
DFullyConnected.cpp112 int32_t inputOffset = -inputShape.offset; in fullyConnectedQuant8() local
138 tflite::optimized_ops::FullyConnected(inputData, convertShapeToDims(inputShape), inputOffset, in fullyConnectedQuant8()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp1340 const size_t inputOffset = inputIndex * problemSize * problemSize; in TEST_P() local
1341 std::copy(goldenInputs.begin() + inputOffset, in TEST_P()
1342 goldenInputs.begin() + inputOffset + problemSize * problemSize, in TEST_P()
1359 const size_t inputOffset = inputIndex * problemSize * problemSize; in TEST_P() local
1360 std::copy(goldenInputs.begin() + inputOffset, in TEST_P()
1361 goldenInputs.begin() + inputOffset + problemSize * problemSize, in TEST_P()