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/common/operations/ |
D | StridedSlice.cpp | 183 int32_t outDim = ceil((end - begin) / static_cast<float>(stride)); in prepare() local 184 outDim = outDim < 0 ? 0 : static_cast<uint32_t>(outDim); in prepare() 186 outDims.push_back(outDim); in prepare() 190 NN_RET_CHECK_EQ(outDim, 1) << "index = " << idx; in prepare()
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | ConcatSplit.cpp | 135 RandomVariable outDim; in splitConstructor() local 137 outDim = op->inputs[0]->dimensions[i].exactDiv(numSplits); in splitConstructor() 139 outDim = op->inputs[0]->dimensions[i]; in splitConstructor() 141 for (uint32_t j = 0; j < numSplits; j++) op->outputs[j]->dimensions[i] = outDim; in splitConstructor()
|
/frameworks/ml/nn/runtime/test/ |
D | TestValidateOperations.cpp | 3192 uint32_t outDim[] = {4, 2, 2, 1}; in roiAlignOpTest() local 3201 {getOpType(inputOperandCode, 4, outDim)}); in roiAlignOpTest() 3227 uint32_t outDim[] = {4, 2, 2, 1}; in roiPoolingOpTest() local 3235 {getOpType(inputOperandCode, 4, outDim)}); in roiPoolingOpTest() 3315 uint32_t outDim[] = {1, 2, 2, 2}; in groupedConvOpTest() local 3341 ANeuralNetworksOperandType output = getOpType(inputOperandCode, 4, outDim); in groupedConvOpTest() 3390 uint32_t outDim[] = {1, 5, 5, 2}, outShapeDim[] = {4}; in transposeConvOpTest() local 3414 ANeuralNetworksOperandType output = getOpType(inputOperandCode, 4, outDim); in transposeConvOpTest() 3622 uint32_t outDim[] = {5, 8}; in axisAlignedBBoxTransformOpTest() local 3628 {getOpType(roiOperandCode, 2, outDim)}); in axisAlignedBBoxTransformOpTest()
|