Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/operations/
DTransposeConv2D.cpp81 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 …]
DReshape.cpp118 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()
DRoiPooling.cpp247 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()
DGroupedConv2D.cpp42 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()
DRoiAlign.cpp409 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()
DConv2D.cpp370 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
DDepthwiseConv2D.cpp297 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/
DTaskConvertImageToRGBPreview.java238 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 …]