Home
last modified time | relevance | path

Searched refs:subsampling_height (Results 1 – 14 of 14) sorted by relevance

/external/XNNPACK/src/subgraph/
Ddepthwise-convolution-2d.c24 uint32_t subsampling_height, in xnn_define_depthwise_convolution_2d() argument
51 if (subsampling_width == 0 || subsampling_height == 0) { in xnn_define_depthwise_convolution_2d()
54 …ode_type_to_string(xnn_node_type_depthwise_convolution_2d), subsampling_width, subsampling_height); in xnn_define_depthwise_convolution_2d()
120 …if ((flags & XNN_FLAG_TENSORFLOW_SAME_PADDING) != 0 && (subsampling_height | subsampling_width) ==… in xnn_define_depthwise_convolution_2d()
170 node->params.depthwise_convolution_2d.subsampling_height = subsampling_height; in xnn_define_depthwise_convolution_2d()
Dconvolution-2d.c24 uint32_t subsampling_height, in xnn_define_convolution_2d() argument
52 if (subsampling_width == 0 || subsampling_height == 0) { in xnn_define_convolution_2d()
55 xnn_node_type_to_string(xnn_node_type_convolution_2d), subsampling_width, subsampling_height); in xnn_define_convolution_2d()
128 …if ((flags & XNN_FLAG_TENSORFLOW_SAME_PADDING) != 0 && (subsampling_height | subsampling_width) ==… in xnn_define_convolution_2d()
178 node->params.convolution_2d.subsampling_height = subsampling_height; in xnn_define_convolution_2d()
/external/XNNPACK/test/
Dconv-hwc-microkernel-tester.h195 inline ConvHWCMicrokernelTester& subsampling_height(uint32_t subsampling_height) { in subsampling_height() argument
196 assert(subsampling_height >= 1); in subsampling_height()
197 this->subsampling_height_ = subsampling_height; in subsampling_height()
201 inline uint32_t subsampling_height() const { in subsampling_height() function
247 …return (std::max<size_t>(padded_input_height + subsampling_height(), kernel_height()) - kernel_hei… in output_height()
248 / subsampling_height(); in output_height()
325 const size_t iy = oy * subsampling_height() + ky - padding_top();
Dconv-hwc2chw-microkernel-tester.h195 inline ConvHWC2CHWMicrokernelTester& subsampling_height(uint32_t subsampling_height) { in subsampling_height() function
196 assert(subsampling_height >= 1); in subsampling_height()
197 this->subsampling_height_ = subsampling_height; in subsampling_height()
201 inline uint32_t subsampling_height() const { in subsampling_height() function
250 return (padded_input_height - kernel_height()) / subsampling_height() + 1; in output_height()
331 const size_t iy = oy * subsampling_height() + ky - padding_top();
Dsubgraph-tester.h78 uint32_t subsampling_height, uint32_t subsampling_width, in add_conv() argument
87 subsampling_height, subsampling_width, dilation_height, dilation_width, in add_conv()
101 uint32_t subsampling_height, uint32_t subsampling_width, in add_depthwise_conv() argument
109 subsampling_height, subsampling_width, dilation_height, dilation_width, in add_depthwise_conv()
Dconvolution-operator-tester.h86 (output_height() - 1) * subsampling_height() + dilated_kernel_height() - input_height(); in padding_top()
118 (output_height() - 1) * subsampling_height() + dilated_kernel_height() - input_height(); in padding_bottom()
286 …inline ConvolutionOperatorTester& subsampling(uint32_t subsampling_height, uint32_t subsampling_wi… in subsampling() argument
287 assert(subsampling_height >= 1); in subsampling()
289 this->subsampling_height_ = subsampling_height; in subsampling()
294 inline ConvolutionOperatorTester& subsampling_height(uint32_t subsampling_height) { in subsampling_height() function
295 assert(subsampling_height >= 1); in subsampling_height()
296 this->subsampling_height_ = subsampling_height; in subsampling_height()
300 inline uint32_t subsampling_height() const { in subsampling_height() function
354 return (input_height() + subsampling_height() - 1) / subsampling_height(); in output_height()
[all …]
/external/XNNPACK/src/operators/
Dconvolution-nchw.c44 uint32_t subsampling_height, in xnn_create_convolution2d_nchw_f32() argument
78 if (subsampling_width == 0 || subsampling_height == 0) { in xnn_create_convolution2d_nchw_f32()
81 …tor_type_to_string(xnn_operator_type_convolution_nchw_f32), subsampling_width, subsampling_height); in xnn_create_convolution2d_nchw_f32()
174 …const bool is_1x1 = kernel_width == 1 && kernel_height == 1 && subsampling_height == 1 && subsampl… in xnn_create_convolution2d_nchw_f32()
180 } else if (is_3x3 && subsampling_height == 2 && subsampling_width == 2 && in xnn_create_convolution2d_nchw_f32()
185 } else if (is_3x3 && subsampling_height == 1 && subsampling_width == 1 && in xnn_create_convolution2d_nchw_f32()
191 } else if (is_3x3 && subsampling_height == 2 && subsampling_width == 2 && in xnn_create_convolution2d_nchw_f32()
197 } else if (is_5x5 && subsampling_height == 1 && subsampling_width == 1 && in xnn_create_convolution2d_nchw_f32()
203 } else if (is_5x5 && subsampling_height == 2 && subsampling_width == 2 && in xnn_create_convolution2d_nchw_f32()
215 …kernel_width, kernel_height, subsampling_width, subsampling_height, dilation_width, dilation_heigh… in xnn_create_convolution2d_nchw_f32()
[all …]
Dconvolution-nhwc.c68 uint32_t subsampling_height, in create_convolution2d_nhwc() argument
132 if (subsampling_width == 0 || subsampling_height == 0) { in create_convolution2d_nhwc()
135 xnn_operator_type_to_string(operator_type), subsampling_width, subsampling_height); in create_convolution2d_nhwc()
221 const bool unit_subsampling = (subsampling_width | subsampling_height) == 1; in create_convolution2d_nhwc()
391 convolution_op->stride_height = subsampling_height; in create_convolution2d_nhwc()
425 uint32_t subsampling_height, in xnn_create_convolution2d_nhwc_qu8() argument
494 subsampling_height, subsampling_width, in xnn_create_convolution2d_nhwc_qu8()
523 uint32_t subsampling_height, in xnn_create_convolution2d_nhwc_qs8() argument
588 subsampling_height, subsampling_width, in xnn_create_convolution2d_nhwc_qs8()
617 uint32_t subsampling_height, in xnn_create_convolution2d_nhwc_f16() argument
[all …]
/external/XNNPACK/src/
Dim2col.c18 size_t subsampling_height, in xnn_im2col_conv2d() argument
33 …const size_t input_y = output_y * subsampling_height + kernel_y * dilation_height - input_padding_… in xnn_im2col_conv2d()
Dsubgraph.c148 …if ((node->params.convolution_2d.subsampling_height | node->params.convolution_2d.subsampling_widt… in xnn_check_nchw_compatibility()
158 …if ((node->params.convolution_2d.subsampling_height | node->params.convolution_2d.subsampling_widt… in xnn_check_nchw_compatibility()
182 …if (node->params.depthwise_convolution_2d.subsampling_height != node->params.depthwise_convolution… in xnn_check_nchw_compatibility()
185 switch (node->params.depthwise_convolution_2d.subsampling_height) { in xnn_check_nchw_compatibility()
Druntime.c227 node->params.convolution_2d.subsampling_height, in xnn_create_runtime_v2()
252 node->params.convolution_2d.subsampling_height, in xnn_create_runtime_v2()
341 node->params.depthwise_convolution_2d.subsampling_height, in xnn_create_runtime_v2()
366 node->params.depthwise_convolution_2d.subsampling_height, in xnn_create_runtime_v2()
/external/XNNPACK/src/xnnpack/
Dim2col.h21 size_t subsampling_height,
Dsubgraph.h130 uint32_t subsampling_height; member
162 uint32_t subsampling_height; member
/external/XNNPACK/include/
Dxnnpack.h245 uint32_t subsampling_height,
354 uint32_t subsampling_height,
1233 uint32_t subsampling_height,
1654 uint32_t subsampling_height,
1829 uint32_t subsampling_height,
1936 uint32_t subsampling_height,
2028 uint32_t subsampling_height,