Home
last modified time | relevance | path

Searched refs:paddingTail (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/common/include/
DOperationsUtils.h165 int32_t paddingHead, int32_t paddingTail) { in computeOutSize() argument
166 return (imageSize - filterSize + stride + paddingHead + paddingTail) / stride; in computeOutSize()
170 int32_t dilationRate, int32_t paddingHead, int32_t paddingTail) { in computeOutSize() argument
172 return (imageSize - effectiveFilterSize + stride + paddingHead + paddingTail) / stride; in computeOutSize()
176 int32_t paddingHead, int32_t paddingTail) { in computeOutSizeTransposeConv() argument
177 return imageSize * stride + filterSize - stride - paddingHead - paddingTail; in computeOutSizeTransposeConv()
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DOperationSignatureUtils.h197 const RandomVariable& paddingHead, const RandomVariable& paddingTail,
200 *output = (input - effectiveFilter + (stride + paddingHead + paddingTail)) / stride;
203 effectiveFilter.setGreaterThan(paddingTail);
224 const RandomVariable& paddingTail, RandomVariable* output) {
225 *output = stride * input + filter - (stride + paddingHead + paddingTail);