/frameworks/ml/nn/common/operations/ |
D | Conv2D.cpp | 66 int32_t stride_width, stride_height; member 77 stride_width = context->getInputValue<int32_t>(4); in initialize() 93 stride_width = context->getInputValue<int32_t>(7); in initialize() 113 calculateExplicitPadding(input_width, stride_width, dilation_width_factor, filter_width, in initialize() 123 NN_RET_CHECK_GT(stride_width, 0); in initialize() 177 bool needim2colData(const Shape& filterShape, int32_t stride_width, int32_t stride_height, in needim2colData() argument 189 stride_width != 1 || stride_height != 1 || filter_width != 1 || filter_height != 1; in needim2colData() 196 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, in convNhwc() argument 210 const bool need_im2colData = needim2colData(filterShape, stride_width, stride_height, in convNhwc() 215 biasData, convertShapeToDims(biasShape), stride_width, stride_height, in convNhwc() [all …]
|
D | GroupedConv2D.cpp | 49 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, in groupedConvFloat32() argument 67 static_cast<int32_t>(w) * stride_width - padding_left; in groupedConvFloat32() 107 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, in groupedConvQuant8() argument 139 static_cast<int32_t>(w) * stride_width - padding_left; in groupedConvQuant8() 186 int32_t stride_width, int32_t stride_height, 195 int32_t stride_width, int32_t stride_height, 205 int32_t stride_width, int32_t stride_height, int32_t numGroups, in groupedConvQuant8PerChannel() argument 243 static_cast<int32_t>(w) * stride_width - padding_left; in groupedConvQuant8PerChannel() 289 int32_t stride_width, int32_t stride_height, int32_t numGroups, in groupedConvFloat16() argument 304 padding_bottom, stride_width, stride_height, numGroups, activation, in groupedConvFloat16() [all …]
|
D | DepthwiseConv2D.cpp | 50 int32_t stride_width, stride_height; member 62 stride_width = context->getInputValue<int32_t>(4); in initialize() 79 stride_width = context->getInputValue<int32_t>(7); in initialize() 100 calculateExplicitPadding(input_width, stride_width, dilation_width_factor, filter_width, in initialize() 110 NN_RET_CHECK_GT(stride_width, 0); in initialize() 148 .stride_width = static_cast<int16>(strideWidth), in depthwiseConvNhwc() 219 .stride_width = static_cast<int16>(strideWidth), in depthwiseConvNhwc() 557 computeOutSize(width, filterWidth, param.stride_width, param.dilation_width_factor, in prepare() 584 param.stride_width, param.stride_height, in execute() 597 param.stride_width, param.stride_height, in execute() [all …]
|
D | Pooling.cpp | 46 int32_t stride_width, stride_height; member 59 stride_width = context->getInputValue<int32_t>(5); in initialize() 69 stride_width = context->getInputValue<int32_t>(2); in initialize() 82 calculateExplicitPadding(input_width, stride_width, filter_width, padding_implicit, in initialize() 91 NN_RET_CHECK_GT(stride_width, 0); in initialize() 110 .stride_width = stride_width, in toTfliteParam() 372 uint32_t outWidth = computeOutSize(width, param.filter_width, param.stride_width, in prepare()
|
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
D | l2_pool_float_large.mod.py | 21 stride_width = Int32Scalar("stride_width", 1) variable 27 stride_width, stride_height,
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | l2_pool_float_large_relaxed.mod.py | 21 stride_width = Int32Scalar("stride_width", 1) variable 27 stride_width, stride_height,
|
/frameworks/ml/nn/common/include/ |
D | Operations.h | 148 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, 154 int32_t padding_top, int32_t padding_bottom, int32_t stride_width, 162 int32_t padding_top, int32_t padding_bottom, int32_t stride_width, 172 int32_t stride_width, int32_t stride_height, int32_t numGroups,
|
D | OperationsUtils.h | 300 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, 337 int32_t padding_bottom, int32_t stride_width, int32_t stride_height,
|
/frameworks/ml/nn/common/ |
D | CpuExecutor.cpp | 1527 int32_t stride_width, stride_height; in executeOperation() local 1537 stride_width = getScalarData<int32_t>(operands[ins[7]]); in executeOperation() 1544 stride_width = getScalarData<int32_t>(operands[ins[4]]); in executeOperation() 1571 calculateExplicitPadding(input_width, stride_width, filter_width, padding_implicit, in executeOperation() 1578 padding_right, padding_top, padding_bottom, stride_width, in executeOperation() 1591 padding_right, padding_top, padding_bottom, stride_width, stride_height, in executeOperation() 1599 padding_right, padding_top, padding_bottom, stride_width, stride_height, in executeOperation() 1609 padding_left, padding_right, padding_top, padding_bottom, stride_width, in executeOperation() 1617 padding_left, padding_right, padding_top, padding_bottom, stride_width, in executeOperation() 1628 padding_left, padding_right, padding_top, padding_bottom, stride_width, in executeOperation() [all …]
|
D | OperationsUtils.cpp | 711 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, in groupedConvPrepare() argument 747 computeOutSize(width, filterWidth, stride_width, padding_left, padding_right); in groupedConvPrepare()
|