Home
last modified time | relevance | path

Searched refs:stride_width (Results 1 – 11 of 11) sorted by relevance

/packages/modules/NeuralNetworks/common/operations/
DConv2D.cpp66 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()
178 bool needim2colData(const Shape& filterShape, int32_t stride_width, int32_t stride_height, in needim2colData() argument
190 stride_width != 1 || stride_height != 1 || filter_width != 1 || filter_height != 1; in needim2colData()
197 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, in convNhwc() argument
211 const bool need_im2colData = needim2colData(filterShape, stride_width, stride_height, in convNhwc()
216 biasData, convertShapeToDims(biasShape), stride_width, stride_height, in convNhwc()
[all …]
DGroupedConv2D.cpp49 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 …]
DDepthwiseConv2D.cpp52 int32_t stride_width, stride_height; member
64 stride_width = context->getInputValue<int32_t>(4); in initialize()
81 stride_width = context->getInputValue<int32_t>(7); in initialize()
102 calculateExplicitPadding(input_width, stride_width, dilation_width_factor, filter_width, in initialize()
112 NN_RET_CHECK_GT(stride_width, 0); in initialize()
150 .stride_width = static_cast<int16>(strideWidth), in depthwiseConvNhwc()
221 .stride_width = static_cast<int16>(strideWidth), in depthwiseConvNhwc()
565 computeOutSize(width, filterWidth, param.stride_width, param.dilation_width_factor, in prepare()
592 param.stride_width, param.stride_height, in execute()
605 param.stride_width, param.stride_height, in execute()
[all …]
DPooling.cpp48 int32_t stride_width, stride_height; member
61 stride_width = context->getInputValue<int32_t>(5); in initialize()
71 stride_width = context->getInputValue<int32_t>(2); in initialize()
84 calculateExplicitPadding(input_width, stride_width, filter_width, padding_implicit, in initialize()
93 NN_RET_CHECK_GT(stride_width, 0); in initialize()
112 .stride_width = stride_width, in toTfliteParam()
377 uint32_t outWidth = computeOutSize(width, param.filter_width, param.stride_width, in prepare()
/packages/modules/NeuralNetworks/driver/sample/
DSampleDriverFloatXNNPACK.cpp342 static V1_3::ErrorStatus CheckConvolutionParams(int32_t stride_width, int32_t stride_height, in CheckConvolutionParams() argument
345 if (stride_width <= 0) { in CheckConvolutionParams()
362 int32_t stride_width, int32_t stride_height, int32_t dilation_width_factor, in CheckDepthwiseConvolutionParams() argument
364 if (stride_width <= 0) { in CheckDepthwiseConvolutionParams()
388 static V1_3::ErrorStatus CheckPoolingParams(int32_t stride_width, int32_t stride_height, in CheckPoolingParams() argument
390 if (stride_width <= 0) { in CheckPoolingParams()
403 if (filter_width == 1 && filter_height == 1 && std::max(stride_width, stride_height) > 1) { in CheckPoolingParams()
635 int32_t stride_width, stride_height, filter_width, filter_height, activation; in VisitAveragePool2DNode() local
647 stride_width = getScalarData<int32_t>(operands[ins[5]]); in VisitAveragePool2DNode()
656 stride_width = getScalarData<int32_t>(operands[ins[2]]); in VisitAveragePool2DNode()
[all …]
/packages/modules/NeuralNetworks/common/include/
DOperations.h152 int32_t padding_bottom, int32_t stride_width, int32_t stride_height,
158 int32_t padding_top, int32_t padding_bottom, int32_t stride_width,
166 int32_t padding_top, int32_t padding_bottom, int32_t stride_width,
176 int32_t stride_width, int32_t stride_height, int32_t numGroups,
DOperationsUtils.h284 int32_t padding_bottom, int32_t stride_width, int32_t stride_height,
321 int32_t padding_bottom, int32_t stride_width, int32_t stride_height,
/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/
Dl2_pool_float_large.mod.py21 stride_width = Int32Scalar("stride_width", 1) variable
27 stride_width, stride_height,
/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/
Dl2_pool_float_large_relaxed.mod.py21 stride_width = Int32Scalar("stride_width", 1) variable
27 stride_width, stride_height,
/packages/modules/NeuralNetworks/common/
DCpuExecutor.cpp1471 int32_t stride_width, stride_height; in executeOperation() local
1481 stride_width = getScalarData<int32_t>(operands[ins[7]]); in executeOperation()
1488 stride_width = getScalarData<int32_t>(operands[ins[4]]); in executeOperation()
1515 calculateExplicitPadding(input_width, stride_width, filter_width, padding_implicit, in executeOperation()
1522 padding_right, padding_top, padding_bottom, stride_width, in executeOperation()
1535 padding_right, padding_top, padding_bottom, stride_width, stride_height, in executeOperation()
1543 padding_right, padding_top, padding_bottom, stride_width, stride_height, in executeOperation()
1554 padding_left, padding_right, padding_top, padding_bottom, stride_width, in executeOperation()
1562 padding_left, padding_right, padding_top, padding_bottom, stride_width, in executeOperation()
1574 padding_left, padding_right, padding_top, padding_bottom, stride_width, in executeOperation()
[all …]
DOperationsUtils.cpp709 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, in groupedConvPrepare() argument
745 computeOutSize(width, filterWidth, stride_width, padding_left, padding_right); in groupedConvPrepare()