/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/ |
D | pooling_infer.c | 61 param->pad_u_ = param->pad_d_ = 0; in PoolingInferShape() 63 param->pad_u_ = pad_h_all / 2; in PoolingInferShape() 64 param->pad_d_ = pad_h_all - param->pad_u_; in PoolingInferShape() 75 …output_h = floor((float)(input_h + param->pad_u_ + param->pad_d_ - window_h) / param->stride_h_) +… in PoolingInferShape() 78 …output_h = ceil((float)(input_h + param->pad_u_ + param->pad_d_ - window_h) / param->stride_h_) + … in PoolingInferShape()
|
D | conv2d_infer.c | 39 param->pad_u_ = param->pad_d_ = 0; in ConvInferShape() 41 param->pad_u_ = pad_h_all / 2; in ConvInferShape() 42 param->pad_d_ = pad_h_all - param->pad_u_; in ConvInferShape() 53 …*output_h = ceil(((float)(input_h) + param->pad_u_ + param->pad_d_ - ((float)(kernel_h)-1) * (floa… in ConvInferShape() 59 *output_h = ((input_h) + param->pad_u_ + param->pad_d_ - kernel_height) / stride_h + 1; in ConvInferShape() 62 if (param->kernel_h_ > input_h + param->pad_u_ + param->pad_d_ || in ConvInferShape()
|
D | pooling_grad_infer.c | 56 param->pad_u_ = param->pad_d_ = 0; in PoolingGradInferShape() 58 param->pad_u_ = pad_h_all / 2; in PoolingGradInferShape() 59 param->pad_d_ = pad_h_all - param->pad_u_; in PoolingGradInferShape()
|
D | depthwise_conv2d_infer.c | 54 param->pad_u_ = pad_h_all / 2; in DepthwiseConv2dInferShape() 55 param->pad_d_ = pad_h_all - param->pad_u_; in DepthwiseConv2dInferShape() 62 output_h = ceil(((float)(input_h) + param->pad_u_ + param->pad_d_ - in DepthwiseConv2dInferShape()
|
D | deconv2d_infer.c | 72 …output_h = (input_h - 1) * stride_h + ((kernel_h - 1) * dilate_h + 1) - param->pad_u_ - param->pad… in Deconv2dInferShape() 94 param->pad_u_ = ((input_h - 1) * stride_h + (kernel_h - 1) * dilate_h + 1 - output_h) / 2; in Deconv2dInferShape() 97 param->pad_u_ = 0; in Deconv2dInferShape()
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/ |
D | conv1x1_fp32_tests.cc | 53 conv_param->pad_u_ = conv_param->pad_l_ = 2; in TEST_F() 94 conv_param->pad_u_ = conv_param->pad_l_ = 0; in TEST_F() 108 conv_param->pad_u_ = conv_param->pad_l_ = 1; in TEST_F() 127 conv_param->pad_u_ = conv_param->pad_l_ = 1; in TEST_F()
|
/third_party/mindspore/mindspore/lite/test/ut/nnacl/infer/ |
D | depthwise_conv2d_infer_test.cc | 54 parameter->pad_u_ = 1; in TEST_F() 100 parameter->pad_u_ = 3; in TEST_F() 147 parameter->pad_u_ = 1; in TEST_F() 194 parameter->pad_u_ = 1; in TEST_F() 241 parameter->pad_u_ = 0; in TEST_F() 288 parameter->pad_u_ = 0; in TEST_F() 335 parameter->pad_u_ = 0; in TEST_F() 382 parameter->pad_u_ = 4; in TEST_F() 429 parameter->pad_u_ = 0; in TEST_F() 476 parameter->pad_u_ = 0; in TEST_F() [all …]
|
D | conv2d_infer_test.cc | 53 parameter->pad_u_ = 1; in TEST_F() 98 parameter->pad_u_ = 3; in TEST_F() 144 parameter->pad_u_ = 1; in TEST_F() 190 parameter->pad_u_ = 1; in TEST_F() 236 parameter->pad_u_ = 0; in TEST_F() 282 parameter->pad_u_ = 0; in TEST_F() 328 parameter->pad_u_ = 0; in TEST_F() 374 parameter->pad_u_ = 4; in TEST_F() 420 parameter->pad_u_ = 0; in TEST_F() 466 parameter->pad_u_ = 0; in TEST_F() [all …]
|
D | pooling_infer_test.cc | 43 parameter->pad_u_ = 0; in TEST_F() 83 parameter->pad_u_ = 0; in TEST_F() 124 parameter->pad_u_ = 0; in TEST_F() 165 parameter->pad_u_ = 0; in TEST_F() 206 parameter->pad_u_ = 0; in TEST_F() 247 parameter->pad_u_ = 0; in TEST_F()
|
D | deconv2d_infer_test.cc | 56 parameter->pad_u_ = 1; in TEST_F() 104 parameter->pad_u_ = 1; in TEST_F() 152 parameter->pad_u_ = 0; in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/ |
D | pack_ext.c | 24 const int pad_up = conv_param->pad_u_; in RollingIm2ColPackDwUnitFp32() 74 const int pad_up = conv_param->pad_u_; in rolling_im2col_hwc() 145 const int pad_up = conv_param->pad_u_; in rolling_im2row_hwc() 193 const int pad_up = conv_param->pad_u_; in col2im_hwc() 241 const int pad_up = conv_param->pad_u_; in rolling_col2im_hwc()
|
D | convolution_grad_filter.c | 54 int input_row = -conv_param->pad_u_ + i_kh + input_h; in FilterGrad16Arm() 131 int input_row = -conv_param->pad_u_ + i_kh + input_h; in FilterGrad12Arm() 201 int input_row = -conv_param->pad_u_ + i_kh + input_h; in FilterGrad8Arm() 259 int input_row = -conv_param->pad_u_ + i_kh + input_h; in FilterGrad4Arm() 309 int input_row = -conv_param->pad_u_ + i_kh + input_h; in Filtergrad2Arm() 367 int input_row = -conv_param->pad_u_ + i_kh + input_h; in ConvDwFilterGrad()
|
D | convolution_grad_input.c | 57 … int input_row = -conv_param->pad_u_ + kernel_row * conv_param->dilation_h_ + row_stride_offset; in ConvDwInputGrad() 89 … int input_row = -conv_param->pad_u_ + kernel_row * conv_param->dilation_h_ + row_stride_offset; in ConvDwInputGrad()
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/ |
D | conv_1x1_int8_tests.cc | 37 conv_param->pad_u_ = conv_param->pad_l_ = 1; in TEST_F() 64 conv_param->pad_u_ = conv_param->pad_l_ = 2; in TEST_F() 113 conv_param->pad_u_ = conv_param->pad_l_ = 0; in Conv1x1Int8TestInit1_perchannel() 182 conv_param->pad_u_ = conv_param->pad_l_ = 0; in Conv1x1Int8TestInit1() 259 conv_param->pad_u_ = conv_param->pad_l_ = 0; in Conv1x1Int8TestInit2()
|
/third_party/mindspore/mindspore/lite/src/ops/populate/ |
D | conv2d_populate.cc | 81 param->pad_u_ = 0; in PopulateConvParameter() 86 param->pad_u_ = static_cast<int>(*(pad_list->begin())); in PopulateConvParameter()
|
D | deconv2d_populate.cc | 94 param->pad_u_ = 0; in PopulateDeconvParameter() 99 param->pad_u_ = static_cast<int>(*(pad_list->begin())); in PopulateDeconvParameter()
|
D | pooling_populate.cc | 91 param->pad_u_ = static_cast<int>(*(pad->begin())); in PopulateAvgPoolParameter() 147 param->pad_u_ = static_cast<int>(*(pad->begin())); in PopulateMaxPoolParameter()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/ |
D | convolution_grad_filter.c | 61 int input_row = -conv_param->pad_u_ + i_kh + input_h; in FilterGrad32Arm() 134 int input_row = -conv_param->pad_u_ + i_kh + input_h; in FilterGrad16Arm() 191 int input_row = -conv_param->pad_u_ + i_kh + input_h; in FilterGrad8Arm() 240 int input_row = -conv_param->pad_u_ + i_kh + input_h; in FilterGrad4Arm() 289 int input_row = -conv_param->pad_u_ + i_kh + input_h; in FilterGradLeftoverArm() 348 int input_row = -conv_param->pad_u_ + i_kh + input_h; in ConvDwFilterFp16Grad()
|
D | pack_fp16_ext.c | 23 const int pad_up = conv_param->pad_u_; in RollingIm2ColPackDwUnitFp16() 73 const int pad_up = conv_param->pad_u_; in RollingIm2ColPackUnitFp16() 140 const int pad_up = conv_param->pad_u_; in RollingCol2ImPackUnitFp16()
|
D | convolution_grad_input.c | 50 int row_stride_offset = -conv_param->pad_u_ + output_row * conv_param->stride_h_; in ConvDwInputGrad16() 156 int row_stride_offset = -conv_param->pad_u_ + output_row * conv_param->stride_h_; in ConvDwInputGrad8() 239 int row_stride_offset = -conv_param->pad_u_ + output_row * conv_param->stride_h_; in ConvDwInputGrad4() 315 int row_stride_offset = -conv_param->pad_u_ + output_row * conv_param->stride_h_; in ConvDwInputGradFp16()
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/ |
D | deconvolution_grad_fp32_tests.cc | 56 conv_param->pad_u_ = 1; in TEST_F() 164 conv_param->pad_u_ = 1; in TEST_F() 266 conv_param->pad_u_ = 1; in TEST_F() 373 conv_param->pad_u_ = 1; in TEST_F() 480 conv_param->pad_u_ = 1; in TEST_F() 587 conv_param->pad_u_ = 1; in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/ |
D | pooling_parameter.h | 47 int pad_u_; member
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/ |
D | conv1x1_base.c | 24 int src_h = dst_h * conv_param->stride_h_ - conv_param->pad_u_; in Conv1x1InputPack()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | conv_depthwise_fp32.c | 51 int ih_origin = oh * conv_param->stride_h_ - conv_param->pad_u_; in ConvDw() 111 while (top * conv_param->stride_h_ < conv_param->pad_u_) { in InitSlidingParam() 114 …while ((bottom - 1) * conv_param->stride_h_ - conv_param->pad_u_ + conv_param->kernel_h_ * conv_pa… in InitSlidingParam() 215 int ih = oh * conv_param->stride_h_ - conv_param->pad_u_; in ConvDwBorder() 329 int in_h_start = sliding->top_ * conv_param->stride_h_ - conv_param->pad_u_; in ConvDwSWFp32() 360 …(conv_param->pad_u_ == 0 || conv_param->pad_u_ == 1) && (conv_param->pad_l_ == 0 || conv_param->pa… in CheckConvDwUse3X3() 361 …conv_param->pad_u_ == conv_param->pad_l_ && conv_param->dilation_h_ == 1 && conv_param->dilation_w… in CheckConvDwUse3X3() 367 return in_h == (conv_param->input_h_ + 2 * conv_param->pad_u_) && in CheckConvDwUse3X3() 742 int ih = oh * conv_param->stride_h_ + kh * conv_param->dilation_h_ - conv_param->pad_u_; in ConvDwInitIndirection() 900 int oh = ih * conv_param->stride_h_ - conv_param->pad_u_; in DeconvDwBorder() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | pooling_int8.c | 25 int pad_h = pooling_param->pad_u_; in AvgPoolingInt8() 109 int in_h_index = out_h_index * pooling_param->stride_h_ - pooling_param->pad_u_; in AvgPoolingOptInt8() 281 int pad_h = pooling_param->pad_u_; in MaxPoolingInt8() 356 int in_h_index = out_h_index * pooling_param->stride_h_ - pooling_param->pad_u_; in MaxPoolingWithQuantInt8() 445 int in_h_index = out_h_index * pooling_param->stride_h_ - pooling_param->pad_u_; in MaxPoolingOptInt8()
|