Searched refs:outShape (Results 1 – 2 of 2) sorted by relevance
/frameworks/ml/nn/common/ |
D | CpuExecutor.cpp | 567 Shape outShape = from.shape(); in convertFromNhwc() local 569 outShape.dimensions = {fromDim[0], fromDim[3], fromDim[1], fromDim[2]}; in convertFromNhwc() 571 if (!setInfoAndAllocateIfNeeded(&to, outShape, result)) { in convertFromNhwc() 595 Shape outShape = from.shape(); in convertFromNhwc() local 598 if (!setInfoAndAllocateIfNeeded(&to, outShape, result)) { in convertFromNhwc() 856 Shape outShape = output.shape(); in executeOperation() local 860 getNumberOfElements(targetShape.shape()), &outShape) && in executeOperation() 861 setInfoAndAllocateIfNeeded(&output, outShape, &result) && in executeOperation() 862 copyData(input.buffer, input.shape(), output.buffer, outShape); in executeOperation() 874 Shape outShape = output.shape(); in executeOperation() local [all …]
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 237 boolean[] outShape = new boolean[1]; in normalizeAndWrapToAdaptiveIcon() 238 scale = getNormalizer().getScale(icon, outIconBounds, dr.getIconMask(), outShape); in normalizeAndWrapToAdaptiveIcon() 239 if (!(icon instanceof AdaptiveIconDrawable) && !outShape[0]) { in normalizeAndWrapToAdaptiveIcon()
|