Home
last modified time | relevance | path

Searched refs:widthIndex (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DConvolutions.cpp46 int widthIndex = useNchw ? 3 : 2; in conv2DExplicitConstructor() local
73 explicitPadding(op->inputs[0]->dimensions[widthIndex], op->inputs[1]->dimensions[2], in conv2DExplicitConstructor()
75 &op->outputs[0]->dimensions[widthIndex]); in conv2DExplicitConstructor()
98 int widthIndex = useNchw ? 3 : 2; in conv2DImplicitConstructor() local
123 implicitPadding(op->inputs[0]->dimensions[widthIndex], op->inputs[1]->dimensions[2], in conv2DImplicitConstructor()
125 &op->outputs[0]->dimensions[widthIndex]); in conv2DImplicitConstructor()
285 int widthIndex = useNchw ? 3 : 2; in depthwiseConv2DExplicitConstructor() local
313 explicitPadding(op->inputs[0]->dimensions[widthIndex], op->inputs[1]->dimensions[2], in depthwiseConv2DExplicitConstructor()
315 &op->outputs[0]->dimensions[widthIndex]); in depthwiseConv2DExplicitConstructor()
338 int widthIndex = useNchw ? 3 : 2; in depthwiseConv2DImplicitConstructor() local
[all …]
DPoolings.cpp39 int widthIndex = useNchw ? 3 : 2; in poolingExplicitOpConstructor() local
59 explicitPadding(op->inputs[0]->dimensions[widthIndex], filterWidth, strideWidth, /*dilation=*/1, in poolingExplicitOpConstructor()
60 paddingLeft, paddingRight, &op->outputs[0]->dimensions[widthIndex]); in poolingExplicitOpConstructor()
78 int widthIndex = useNchw ? 3 : 2; in poolingImplicitOpConstructor() local
95 implicitPadding(op->inputs[0]->dimensions[widthIndex], filterWidth, strideWidth, in poolingImplicitOpConstructor()
96 /*dilation=*/1, paddingScheme, &op->outputs[0]->dimensions[widthIndex]); in poolingImplicitOpConstructor()
DResize.cpp29 int widthIndex = useNchw ? 3 : 2; in resizeOpConstructor() local
41 outWidth = op->inputs[0]->dimensions[widthIndex] * op->inputs[1]->value<float>(); in resizeOpConstructor()
45 outWidth = op->inputs[0]->dimensions[widthIndex] * in resizeOpConstructor()
DReshape.cpp32 int widthIndex = useNchw ? 3 : 2; in spaceToDepthConstructor() local
39 auto outWidth = op->inputs[0]->dimensions[widthIndex].exactDiv(blockSize); in spaceToDepthConstructor()
87 int widthIndex = useNchw ? 3 : 2; in depthToSpaceConstructor() local
94 auto outWidth = op->inputs[0]->dimensions[widthIndex] * blockSize; in depthToSpaceConstructor()
175 int widthIndex = useNchw ? 3 : 2; in batchToSpaceConstructor() local
183 auto outWidth = op->inputs[0]->dimensions[widthIndex] * blockWidth; in batchToSpaceConstructor()
233 int widthIndex = useNchw ? 3 : 2; in spaceToBatchConstructor() local
241 auto paddedWidth = op->inputs[0]->dimensions[widthIndex] + in spaceToBatchConstructor()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DExternalDbFacadeTest.java1231 int widthIndex = cursor.getColumnIndex(CloudMediaProviderContract.MediaColumns.WIDTH); in assertMediaColumns() local
1257 .that(cursor.getInt(widthIndex)) in assertMediaColumns()