/external/XNNPACK/src/subgraph/ |
D | depthwise-convolution-2d.c | 26 uint32_t dilation_height, in xnn_define_depthwise_convolution_2d() argument 58 if (dilation_width == 0 || dilation_height == 0) { in xnn_define_depthwise_convolution_2d() 61 … xnn_node_type_to_string(xnn_node_type_depthwise_convolution_2d), dilation_width, dilation_height); in xnn_define_depthwise_convolution_2d() 122 const uint32_t padding_height = (kernel_height - 1) * dilation_height; in xnn_define_depthwise_convolution_2d() 172 node->params.depthwise_convolution_2d.dilation_height = dilation_height; in xnn_define_depthwise_convolution_2d()
|
D | max-pooling-2d.c | 26 uint32_t dilation_height, in xnn_define_max_pooling_2d() argument 63 if (dilation_height == 0 || dilation_width == 0) { in xnn_define_max_pooling_2d() 66 xnn_node_type_to_string(xnn_node_type_max_pooling_2d), dilation_width, dilation_height); in xnn_define_max_pooling_2d() 131 node->params.pooling_2d.dilation_height = dilation_height; in xnn_define_max_pooling_2d()
|
D | convolution-2d.c | 26 uint32_t dilation_height, in xnn_define_convolution_2d() argument 59 if (dilation_width == 0 || dilation_height == 0) { in xnn_define_convolution_2d() 62 xnn_node_type_to_string(xnn_node_type_convolution_2d), dilation_width, dilation_height); in xnn_define_convolution_2d() 130 const uint32_t padding_height = (kernel_height - 1) * dilation_height; in xnn_define_convolution_2d() 180 node->params.convolution_2d.dilation_height = dilation_height; in xnn_define_convolution_2d()
|
D | deconvolution-2d.c | 28 uint32_t dilation_height, in xnn_define_deconvolution_2d() argument 61 if (dilation_width == 0 || dilation_height == 0) { in xnn_define_deconvolution_2d() 64 xnn_node_type_to_string(xnn_node_type_deconvolution_2d), dilation_width, dilation_height); in xnn_define_deconvolution_2d() 152 node->params.deconvolution_2d.dilation_height = dilation_height; in xnn_define_deconvolution_2d()
|
/external/XNNPACK/src/operators/ |
D | max-pooling-nhwc.c | 54 uint32_t dilation_height, in create_max_pooling2d_nhwc() argument 110 if (dilation_height == 0 || dilation_width == 0) { in create_max_pooling2d_nhwc() 113 xnn_operator_type_to_string(operator_type), dilation_width, dilation_height); in create_max_pooling2d_nhwc() 171 max_pooling_op->dilation_height = dilation_height; in create_max_pooling2d_nhwc() 236 …ffective_kernel_height = (max_pooling_op->kernel_height - 1) * max_pooling_op->dilation_height + 1; in setup_max_pooling2d_nhwc() 250 max_pooling_op->dilation_height, in setup_max_pooling2d_nhwc() 333 uint32_t dilation_height, in xnn_create_max_pooling2d_nhwc_u8() argument 355 dilation_height, dilation_width, in xnn_create_max_pooling2d_nhwc_u8() 372 uint32_t dilation_height, in xnn_create_max_pooling2d_nhwc_f32() argument 408 dilation_height, dilation_width, in xnn_create_max_pooling2d_nhwc_f32()
|
D | deconvolution-nhwc.c | 50 uint32_t dilation_height, in create_deconvolution2d_nhwc() argument 100 if (dilation_width == 0 || dilation_height == 0) { in create_deconvolution2d_nhwc() 103 xnn_operator_type_to_string(operator_type), dilation_width, dilation_height); in create_deconvolution2d_nhwc() 178 …if (max(stride_height, stride_width) > 1 && max(dilation_height, dilation_width) == 1 && stride_wi… in create_deconvolution2d_nhwc() 254 deconvolution_op->dilation_height = dilation_height; in create_deconvolution2d_nhwc() 276 const uint32_t padding_height = (kernel_height - 1) * dilation_height; in create_deconvolution2d_nhwc() 310 uint32_t dilation_height, in xnn_create_deconvolution2d_nhwc_qu8() argument 378 dilation_height, dilation_width, in xnn_create_deconvolution2d_nhwc_qu8() 403 uint32_t dilation_height, in xnn_create_deconvolution2d_nhwc_f32() argument 456 dilation_height, dilation_width, in xnn_create_deconvolution2d_nhwc_f32() [all …]
|
D | convolution-nhwc.c | 70 uint32_t dilation_height, in create_convolution2d_nhwc() argument 139 if (dilation_width == 0 || dilation_height == 0) { in create_convolution2d_nhwc() 142 xnn_operator_type_to_string(operator_type), dilation_width, dilation_height); in create_convolution2d_nhwc() 393 convolution_op->dilation_height = dilation_height; in create_convolution2d_nhwc() 427 uint32_t dilation_height, in xnn_create_convolution2d_nhwc_qu8() argument 495 dilation_height, dilation_width, in xnn_create_convolution2d_nhwc_qu8() 525 uint32_t dilation_height, in xnn_create_convolution2d_nhwc_qs8() argument 589 dilation_height, dilation_width, in xnn_create_convolution2d_nhwc_qs8() 619 uint32_t dilation_height, in xnn_create_convolution2d_nhwc_f16() argument 670 dilation_height, dilation_width, in xnn_create_convolution2d_nhwc_f16() [all …]
|
D | convolution-nchw.c | 46 uint32_t dilation_height, in xnn_create_convolution2d_nchw_f32() argument 85 if (dilation_width == 0 || dilation_height == 0) { in xnn_create_convolution2d_nchw_f32() 88 …_operator_type_to_string(xnn_operator_type_convolution_nchw_f32), dilation_width, dilation_height); in xnn_create_convolution2d_nchw_f32() 175 …const bool is_3x3 = kernel_width == 3 && kernel_height == 3 && dilation_height == 1 && dilation_wi… in xnn_create_convolution2d_nchw_f32() 176 …const bool is_5x5 = kernel_width == 5 && kernel_height == 5 && dilation_height == 1 && dilation_wi… in xnn_create_convolution2d_nchw_f32() 215 …ernel_width, kernel_height, subsampling_width, subsampling_height, dilation_width, dilation_height, in xnn_create_convolution2d_nchw_f32() 486 convolution_op->dilation_height = dilation_height; in xnn_create_convolution2d_nchw_f32() 557 convolution_op->dilation_height, in setup_convolution2d_nchw()
|
/external/XNNPACK/src/ |
D | indirection.c | 35 const size_t dilation_height = op->dilation_height; in xnn_indirection_init_conv2d() local 53 … const size_t input_y = output_y * stride_height + kernel_y * dilation_height - input_padding_top; in xnn_indirection_init_conv2d() 95 const size_t dilation_height = op->dilation_height; in xnn_indirection_init_deconv2d() local 115 const size_t y = output_y + padding_top - kernel_y * dilation_height; in xnn_indirection_init_deconv2d() 216 const size_t dilation_height = op->dilation_height; in xnn_indirection_init_dwconv2d() local 223 … const size_t input_y = output_y * stride_height + kernel_y * dilation_height - input_padding_top; in xnn_indirection_init_dwconv2d() 266 const size_t dilation_height = op->dilation_height; in xnn_indirection_init_maxpool2d() local 271 const bool any_dilation = (dilation_height | dilation_width) > 1; in xnn_indirection_init_maxpool2d() 275 const size_t adjusted_padding_top = input_padding_top % dilation_height; in xnn_indirection_init_maxpool2d() 281 safe_input_y += dilation_height; in xnn_indirection_init_maxpool2d() [all …]
|
D | im2col.c | 20 size_t dilation_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()
|
/external/XNNPACK/test/ |
D | max-pooling-operator-tester.h | 263 inline MaxPoolingOperatorTester& dilation(uint32_t dilation_height, uint32_t dilation_width) { in dilation() argument 264 assert(dilation_height >= 1); in dilation() 266 this->dilation_height_ = dilation_height; in dilation() 271 inline MaxPoolingOperatorTester& dilation_height(uint32_t dilation_height) { in dilation_height() function 272 assert(dilation_height >= 1); in dilation_height() 273 this->dilation_height_ = dilation_height; in dilation_height() 277 inline uint32_t dilation_height() const { in dilation_height() function 292 return (pooling_height() - 1) * dilation_height() + 1; in dilated_pooling_height() 469 const size_t iy = oy * stride_height() + py * dilation_height() - padding_top(); in TestU8() 496 dilation_height(), dilation_width(), in TestU8() [all …]
|
D | subgraph-tester.h | 79 uint32_t dilation_height, uint32_t dilation_width, uint32_t groups, in add_conv() argument 87 subsampling_height, subsampling_width, dilation_height, dilation_width, in add_conv() 102 uint32_t dilation_height, uint32_t dilation_width, in add_depthwise_conv() argument 109 subsampling_height, subsampling_width, dilation_height, dilation_width, in add_depthwise_conv()
|
D | convolution-operator-tester.h | 251 inline ConvolutionOperatorTester& dilation(uint32_t dilation_height, uint32_t dilation_width) { in dilation() argument 252 assert(dilation_height >= 1); in dilation() 254 this->dilation_height_ = dilation_height; in dilation() 259 inline ConvolutionOperatorTester& dilation_height(uint32_t dilation_height) { in dilation_height() argument 260 assert(dilation_height >= 1); in dilation_height() 261 this->dilation_height_ = dilation_height; in dilation_height() 265 inline uint32_t dilation_height() const { in dilation_height() function 345 return (kernel_height() - 1) * dilation_height() + 1; in dilated_kernel_height() 556 … const size_t iy = oy * subsampling_height() + ky * dilation_height() - padding_top(); in TestNHWCxQS8() 580 … const size_t iy = oy * subsampling_height() + ky * dilation_height() - padding_top(); in TestNHWCxQS8() [all …]
|
D | deconvolution-operator-tester.h | 283 inline DeconvolutionOperatorTester& dilation(uint32_t dilation_height, uint32_t dilation_width) { in dilation() argument 284 assert(dilation_height >= 1); in dilation() 286 this->dilation_height_ = dilation_height; in dilation() 291 inline DeconvolutionOperatorTester& dilation_height(uint32_t dilation_height) { in dilation_height() argument 292 assert(dilation_height >= 1); in dilation_height() 293 this->dilation_height_ = dilation_height; in dilation_height() 297 inline uint32_t dilation_height() const { in dilation_height() function 377 return (kernel_height() - 1) * dilation_height() + 1; in dilated_kernel_height() 530 const size_t y = oy + padding_top() - ky * dilation_height(); in TestQU8() 579 dilation_height(), dilation_width(), in TestQU8() [all …]
|
D | deconvolution-nhwc.cc | 755 for (size_t dilation_height = 2; dilation_height <= 3; dilation_height++) { variable 760 .dilation_height(dilation_height) 789 .dilation_height(3) 1085 for (size_t dilation_height = 2; dilation_height <= 3; dilation_height++) { in TEST() local 1090 .dilation_height(dilation_height) in TEST() 1121 .dilation_height(3) in TEST() 1424 for (size_t dilation_height = 2; dilation_height <= 3; dilation_height++) { in TEST() local 1430 .dilation_height(dilation_height) in TEST() 1461 .dilation_height(3) in TEST() 1776 for (size_t dilation_height = 2; dilation_height <= 3; dilation_height++) { in TEST() local [all …]
|
/external/XNNPACK/src/xnnpack/ |
D | subgraph.h | 132 uint32_t dilation_height; member 149 uint32_t dilation_height; member 164 uint32_t dilation_height; member 181 uint32_t dilation_height; member
|
D | im2col.h | 23 size_t dilation_height,
|
D | operator.h | 202 uint32_t dilation_height; member
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | conv3d_test.cc | 38 int32_t dilation_height = 1) { in Conv3dOpModel() argument 47 dilation_width, dilation_height) in Conv3dOpModel() 58 int32_t dilation_height = 1) { in Conv3dOpModel() argument 66 dilation_width, dilation_height) in Conv3dOpModel()
|
D | conv3d.cc | 133 runtime_params.dilation_height = params->dilation_height_factor; in Eval()
|
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/ |
D | convolution_op_builder.cc | 51 int dilation_height = 0; in Build() local 61 dilation_height = conv_params->dilation_height_factor; in Build() 73 dilation_height = depthwise_conv_params->dilation_height_factor; in Build() 106 if (dilation_height) { in Build() 107 layer_->mutable_convolution()->add_dilationfactor(dilation_height); in Build()
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | conv_2d_tester.h | 127 inline Conv2DTester& DilationHeight(int32_t dilation_height) { in DilationHeight() argument 128 EXPECT_GT(dilation_height, 0); in DilationHeight() 129 dilation_height_ = dilation_height; in DilationHeight()
|
D | depthwise_conv_2d_tester.h | 131 inline DepthwiseConv2DTester& DilationHeight(int32_t dilation_height) { in DilationHeight() argument 132 EXPECT_GT(dilation_height, 0); in DilationHeight() 133 dilation_height_ = dilation_height; in DilationHeight()
|
/external/XNNPACK/include/ |
D | xnnpack.h | 247 uint32_t dilation_height, 302 uint32_t dilation_height, 356 uint32_t dilation_height, 534 uint32_t dilation_height, 1235 uint32_t dilation_height, 1267 uint32_t dilation_height, 1412 uint32_t dilation_height, 1656 uint32_t dilation_height, 1831 uint32_t dilation_height, 1938 uint32_t dilation_height, [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | conv3d.h | 68 in_y_origin + params.dilation_height * filter_y; in Conv3D()
|