Home
last modified time | relevance | path

Searched refs:outShape (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NeuralNetworks/common/
DCpuExecutor.cpp486 Shape outShape = from.shape(); in convertFromNhwc() local
488 outShape.dimensions = {fromDim[0], fromDim[3], fromDim[1], fromDim[2]}; in convertFromNhwc()
490 if (!setInfoAndAllocateIfNeeded(&to, outShape, result)) { in convertFromNhwc()
514 Shape outShape = from.shape(); in convertFromNhwc() local
517 if (!setInfoAndAllocateIfNeeded(&to, outShape, result)) { in convertFromNhwc()
803 Shape outShape = output.shape(); in executeOperation() local
807 getNumberOfElements(targetShape.shape()), &outShape) && in executeOperation()
808 setInfoAndAllocateIfNeeded(&output, outShape, &result) && in executeOperation()
809 copyData(input.buffer, input.shape(), output.buffer, outShape); in executeOperation()
821 Shape outShape = output.shape(); in executeOperation() local
[all …]
/packages/modules/NeuralNetworks/common/cpu_operations/
DElementwise.cpp125 const Shape outShape = context->getOutputShape(kOutputTensor); in executeRsqrt() local
128 outShape.scale, static_cast<uint8_t>(outShape.offset)), in executeRsqrt()
135 const Shape outShape = context->getOutputShape(kOutputTensor); in executeRsqrt() local
138 outShape.scale, static_cast<int8_t>(outShape.offset)), in executeRsqrt()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java303 boolean[] outShape = new boolean[1]; in normalizeAndWrapToAdaptiveIcon()
304 scale = getNormalizer().getScale(icon, outIconBounds, dr.getIconMask(), outShape); in normalizeAndWrapToAdaptiveIcon()
305 if (!(icon instanceof AdaptiveIconDrawable) && !outShape[0]) { in normalizeAndWrapToAdaptiveIcon()