Searched refs:outputWidth (Results 1 – 8 of 8) sorted by relevance
/packages/modules/NeuralNetworks/common/operations/ |
D | TransposeConv2D.cpp | 81 int32_t outputWidth = useNchw ? outputShapeData[3] : outputShapeData[2]; in initialize() local 83 calculateExplicitPaddingTransposeConv(outputWidth, strideWidth, filterWidth, in initialize() 119 uint32_t outputWidth = getSizeOfDimension(outputShape, 2); \ 153 wOutput >= 0 && wOutput < static_cast<int32_t>(outputWidth)) { in transposeConvNhwc() 155 uint32_t outputIndex = hOutput * outputWidth * outputDepth + in transposeConvNhwc() 167 outputBase += outputHeight * outputWidth * outputDepth; in transposeConvNhwc() 170 const uint32_t outerSize = numBatches * outputHeight * outputWidth; in transposeConvNhwc() 239 wOutput >= 0 && wOutput < static_cast<int32_t>(outputWidth)) { in transposeConvNhwc() 243 uint32_t outputIndex = hOutput * outputWidth * outputDepth + in transposeConvNhwc() 258 outputBase += outputHeight * outputWidth * outputDepth; in transposeConvNhwc() [all …]
|
D | Reshape.cpp | 118 const int outputWidth = extOutputShape.Dims(2); in padGeneric() local 127 outputData, padValue, leftBPadding * outputHeight * outputWidth * outputDepth); in padGeneric() 133 leftHPadding * outputWidth * outputDepth); in padGeneric() 141 for (int outW = leftWPadding; outW < outputWidth - rightWPadding; ++outW) { in padGeneric() 165 outputWidth - rightWPadding, 0), in padGeneric() 173 padValue, rightHPadding * outputWidth * outputDepth); in padGeneric() 179 padValue, rightBPadding * outputHeight * outputWidth * outputDepth); in padGeneric()
|
D | RoiPooling.cpp | 247 auto outputWidth = context->getInputValue<int32_t>(kOutputWidthScalar); in prepare() local 257 NN_RET_CHECK_GT(outputWidth, 0); in prepare() 269 static_cast<uint32_t>(outputWidth)}; in prepare() 272 static_cast<uint32_t>(outputWidth), inDepth}; in prepare()
|
D | GroupedConv2D.cpp | 42 uint32_t outputWidth = getSizeOfDimension(outputShape, 2); \ 62 for (uint32_t w = 0; w < outputWidth; w++) { in groupedConvFloat32() 134 for (uint32_t w = 0; w < outputWidth; w++) { in groupedConvQuant8() 238 for (uint32_t w = 0; w < outputWidth; w++) { in groupedConvQuant8PerChannel()
|
D | RoiAlign.cpp | 409 int32_t outputWidth = context->getInputValue<int32_t>(kOutputWidthScalar); in prepare() local 421 NN_RET_CHECK_GT(outputWidth, 0); in prepare() 437 static_cast<uint32_t>(outputWidth)}; in prepare() 440 static_cast<uint32_t>(outputWidth), inDepth}; in prepare()
|
D | Conv2D.cpp | 370 uint32_t outputWidth = getSizeOfDimension(outputShape, 2); in convQuant8PerChannelNhwc() local 399 for (uint32_t w = 0; w < outputWidth; w++) { in convQuant8PerChannelNhwc() 463 uint32_t outputWidth = getSizeOfDimension(outputShape, 2); in convQuant8PerChannelNhwc() local
|
D | DepthwiseConv2D.cpp | 297 uint32_t outputWidth = getSizeOfDimension(outputShape, 2); in depthwiseConvQuant8PerChannelNhwc() local 327 for (uint32_t w = 0; w < outputWidth; w++) { in depthwiseConvQuant8PerChannelNhwc()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskConvertImageToRGBPreview.java | 238 int outputWidth = inputWidth / subsample; in colorInscribedDataCircleFromYuvImage() local 240 int w = outputWidth; in colorInscribedDataCircleFromYuvImage() 551 int outputWidth = inputWidth / subsample; in colorSubSampleFromYuvImage() local 578 int r = inscribedCircleRadius(outputWidth, outputHeight); in colorSubSampleFromYuvImage() 582 if (outputWidth > outputHeight) { in colorSubSampleFromYuvImage() 584 inscribedXMin = quantizeBy2(outputWidth / 2 - r); in colorSubSampleFromYuvImage() 585 inscribedXMax = quantizeBy2(outputWidth / 2 + r); in colorSubSampleFromYuvImage() 590 inscribedXMax = outputWidth; in colorSubSampleFromYuvImage() 596 outputPixelStride = outputWidth; in colorSubSampleFromYuvImage() 597 len = outputWidth * outputHeight; in colorSubSampleFromYuvImage() [all …]
|