Searched refs:outDim (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ToGrayValuesFilter.java | 92 int[] outDim = new int[] {dim[0] - modular, dim[1]}; in onProcess() local 93 outputFrame = outPort.fetchAvailableFrame(outDim).asFrameBuffer2D(); in onProcess() 96 int[] targetDims = new int[] { outDim[0] / 4, outDim[1] }; in onProcess() 98 mShader.setSourceQuad(Quad.fromRect(0f, 0f, ((float)outDim[0])/dim[0], 1f)); in onProcess() 99 mShader.setUniformValue("pix_stride", 1f / outDim[0]); in onProcess()
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | ConcatSplit.cpp | 106 RandomVariable outDim; in splitConstructor() local 108 outDim = op->inputs[0]->dimensions[i].exactDiv(numSplits); in splitConstructor() 110 outDim = op->inputs[0]->dimensions[i]; in splitConstructor() 112 for (uint32_t j = 0; j < numSplits; j++) op->outputs[j]->dimensions[i] = outDim; in splitConstructor()
|
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 810 int32_t outDim = ceil((end - begin) / static_cast<float>(stride)); in stridedSlicePrepare() local 811 outDim = outDim < 0 ? 0 : static_cast<uint32_t>(outDim); in stridedSlicePrepare() 813 outDims.push_back(outDim); in stridedSlicePrepare() 815 if (outDim != 1) { in stridedSlicePrepare() 816 LOG(ERROR) << "Outdim " << idx << " is " << outDim << ", expected 1"; in stridedSlicePrepare() 817 NN_OPS_CHECK(outDim == 1); in stridedSlicePrepare()
|
/frameworks/ml/nn/runtime/test/ |
D | TestValidateOperations.cpp | 2265 uint32_t outDim[] = {4, 2, 2, 1}; in roiAlignOpTest() local 2274 {getOpType(inputOperandCode, 4, outDim)}); in roiAlignOpTest() 2295 uint32_t outDim[] = {4, 2, 2, 1}; in roiPoolingOpTest() local 2303 {getOpType(inputOperandCode, 4, outDim)}); in roiPoolingOpTest() 2373 uint32_t outDim[] = {1, 2, 2, 2}; in groupedConvOpTest() local 2398 ANeuralNetworksOperandType output = getOpType(inputOperandCode, 4, outDim); in groupedConvOpTest() 2437 uint32_t outDim[] = {1, 5, 5, 2}, outShapeDim[] = {4}; in transposeConvOpTest() local 2460 ANeuralNetworksOperandType output = getOpType(inputOperandCode, 4, outDim); in transposeConvOpTest() 2645 uint32_t outDim[] = {5, 8}; in axisAlignedBBoxTransformOpTest() local 2651 {getOpType(roiOperandCode, 2, outDim)}); in axisAlignedBBoxTransformOpTest()
|