/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/ |
D | pooling_infer.c | 67 param->pad_l_ = param->pad_r_ = 0; in PoolingInferShape() 69 param->pad_l_ = pad_w_all / 2; in PoolingInferShape() 70 param->pad_r_ = pad_w_all - param->pad_l_; in PoolingInferShape() 76 …output_w = floor((float)(input_w + param->pad_l_ + param->pad_r_ - window_w) / param->stride_w_) +… in PoolingInferShape() 79 …output_w = ceil((float)(input_w + param->pad_l_ + param->pad_r_ - window_w) / param->stride_w_) + … in PoolingInferShape()
|
D | conv2d_infer.c | 45 param->pad_l_ = param->pad_r_ = 0; in ConvInferShape() 47 param->pad_l_ = pad_w_all / 2; in ConvInferShape() 48 param->pad_r_ = pad_w_all - param->pad_l_; in ConvInferShape() 51 …*output_w = ceil(((float)(input_w) + param->pad_l_ + param->pad_r_ - ((float)(kernel_w)-1) * (floa… in ConvInferShape() 58 *output_w = ((input_w) + param->pad_l_ + param->pad_r_ - kernel_width) / stride_w + 1; in ConvInferShape() 63 param->kernel_w_ > input_w + param->pad_l_ + param->pad_r_) { in ConvInferShape()
|
D | pooling_grad_infer.c | 62 param->pad_l_ = param->pad_r_ = 0; in PoolingGradInferShape() 64 param->pad_l_ = pad_w_all / 2; in PoolingGradInferShape() 65 param->pad_r_ = pad_w_all - param->pad_l_; in PoolingGradInferShape()
|
D | depthwise_conv2d_infer.c | 58 param->pad_l_ = pad_w_all / 2; in DepthwiseConv2dInferShape() 59 param->pad_r_ = pad_w_all - param->pad_l_; in DepthwiseConv2dInferShape() 65 output_w = ceil(((float)(input_w) + param->pad_l_ + param->pad_r_ - in DepthwiseConv2dInferShape()
|
D | deconv2d_infer.c | 73 …output_w = (input_w - 1) * stride_w + ((kernel_w - 1) * dilate_w + 1) - param->pad_l_ - param->pad… in Deconv2dInferShape() 95 param->pad_l_ = ((input_w - 1) * stride_w + (kernel_w - 1) * dilate_w + 1 - output_w) / 2; in Deconv2dInferShape() 98 param->pad_l_ = 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 | 51 parameter->pad_l_ = 1; in TEST_F() 97 parameter->pad_l_ = 3; in TEST_F() 144 parameter->pad_l_ = 1; in TEST_F() 191 parameter->pad_l_ = 1; in TEST_F() 238 parameter->pad_l_ = 0; in TEST_F() 285 parameter->pad_l_ = 0; in TEST_F() 332 parameter->pad_l_ = 0; in TEST_F() 379 parameter->pad_l_ = 0; in TEST_F() 426 parameter->pad_l_ = 0; in TEST_F() 473 parameter->pad_l_ = 0; in TEST_F() [all …]
|
D | conv2d_infer_test.cc | 50 parameter->pad_l_ = 1; in TEST_F() 95 parameter->pad_l_ = 3; in TEST_F() 141 parameter->pad_l_ = 1; in TEST_F() 187 parameter->pad_l_ = 1; in TEST_F() 233 parameter->pad_l_ = 0; in TEST_F() 279 parameter->pad_l_ = 0; in TEST_F() 325 parameter->pad_l_ = 0; in TEST_F() 371 parameter->pad_l_ = 0; in TEST_F() 417 parameter->pad_l_ = 0; in TEST_F() 463 parameter->pad_l_ = 0; in TEST_F() [all …]
|
D | pooling_infer_test.cc | 46 parameter->pad_l_ = 0; in TEST_F() 86 parameter->pad_l_ = 0; in TEST_F() 127 parameter->pad_l_ = 0; in TEST_F() 168 parameter->pad_l_ = 0; in TEST_F() 209 parameter->pad_l_ = 0; in TEST_F() 250 parameter->pad_l_ = 0; in TEST_F()
|
D | deconv2d_infer_test.cc | 53 parameter->pad_l_ = 1; in TEST_F() 101 parameter->pad_l_ = 1; in TEST_F() 149 parameter->pad_l_ = 0; in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/ |
D | pack_ext.c | 23 const int pad_left = conv_param->pad_l_; in RollingIm2ColPackDwUnitFp32() 73 const int pad_left = conv_param->pad_l_; in rolling_im2col_hwc() 144 const int pad_left = conv_param->pad_l_; in rolling_im2row_hwc() 192 const int pad_left = conv_param->pad_l_; in col2im_hwc() 240 const int pad_left = conv_param->pad_l_; in rolling_col2im_hwc()
|
D | convolution_grad_filter.c | 55 int input_col = -conv_param->pad_l_ + i_kw + input_w; in FilterGrad16Arm() 132 int input_col = -conv_param->pad_l_ + i_kw + input_w; in FilterGrad12Arm() 202 int input_col = -conv_param->pad_l_ + i_kw + input_w; in FilterGrad8Arm() 260 int input_col = -conv_param->pad_l_ + i_kw + input_w; in FilterGrad4Arm() 310 int input_col = -conv_param->pad_l_ + i_kw + input_w; in Filtergrad2Arm() 368 int input_col = -conv_param->pad_l_ + i_kw + input_w; in ConvDwFilterGrad()
|
D | convolution_grad_input.c | 58 … int input_col = -conv_param->pad_l_ + kernel_col * conv_param->dilation_w_ + col_stride_offset; in ConvDwInputGrad() 90 … int input_col = -conv_param->pad_l_ + kernel_col * conv_param->dilation_w_ + col_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 | 83 param->pad_l_ = 0; in PopulateConvParameter() 88 param->pad_l_ = static_cast<int>(*(pad_list->begin() + kOffsetTwo)); in PopulateConvParameter()
|
D | deconv2d_populate.cc | 96 param->pad_l_ = 0; in PopulateDeconvParameter() 101 param->pad_l_ = static_cast<int>(*(pad_list->begin() + kOffsetTwo)); in PopulateDeconvParameter()
|
D | pooling_populate.cc | 93 param->pad_l_ = static_cast<int>(*(pad->begin() + kOffsetTwo)); in PopulateAvgPoolParameter() 149 param->pad_l_ = static_cast<int>(*(pad->begin() + kOffsetTwo)); in PopulateMaxPoolParameter()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/ |
D | convolution_grad_filter.c | 62 int input_col = -conv_param->pad_l_ + i_kw + input_w; in FilterGrad32Arm() 135 int input_col = -conv_param->pad_l_ + i_kw + input_w; in FilterGrad16Arm() 192 int input_col = -conv_param->pad_l_ + i_kw + input_w; in FilterGrad8Arm() 241 int input_col = -conv_param->pad_l_ + i_kw + input_w; in FilterGrad4Arm() 290 int input_col = -conv_param->pad_l_ + i_kw + input_w; in FilterGradLeftoverArm() 349 int input_col = -conv_param->pad_l_ + i_kw + input_w; in ConvDwFilterFp16Grad()
|
D | pack_fp16_ext.c | 22 const int pad_left = conv_param->pad_l_; in RollingIm2ColPackDwUnitFp16() 72 const int pad_left = conv_param->pad_l_; in RollingIm2ColPackUnitFp16() 139 const int pad_left = conv_param->pad_l_; in RollingCol2ImPackUnitFp16()
|
D | convolution_grad_input.c | 51 int col_stride_offset = -conv_param->pad_l_ + output_col * conv_param->stride_w_; in ConvDwInputGrad16() 157 int col_stride_offset = -conv_param->pad_l_ + output_col * conv_param->stride_w_; in ConvDwInputGrad8() 240 int col_stride_offset = -conv_param->pad_l_ + output_col * conv_param->stride_w_; in ConvDwInputGrad4() 316 int col_stride_offset = -conv_param->pad_l_ + output_col * conv_param->stride_w_; in ConvDwInputGradFp16()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | conv_depthwise_fp32.c | 68 …0, (conv_param->pad_l_ - conv_param->dilation_w_ * kw + conv_param->stride_w_ - 1) / conv_param->s… in ConvDw() 69 int out_w_end = MSMIN(conv_param->output_w_, (conv_param->input_w_ + conv_param->pad_l_ - in ConvDw() 74 …int iw_origin = (out_w_start * conv_param->stride_w_) - conv_param->pad_l_ + conv_param->dilation_… in ConvDw() 103 while (left * conv_param->stride_w_ < conv_param->pad_l_) { in InitSlidingParam() 106 …while ((right - 1) * conv_param->stride_w_ - conv_param->pad_l_ + conv_param->kernel_w_ * conv_par… in InitSlidingParam() 222 int iw = ow * conv_param->stride_w_ - conv_param->pad_l_; in ConvDwBorder() 330 int in_w_start = sliding->left_ * conv_param->stride_w_ - conv_param->pad_l_; in ConvDwSWFp32() 360 …am->pad_u_ == 0 || conv_param->pad_u_ == 1) && (conv_param->pad_l_ == 0 || conv_param->pad_l_ == 1… in CheckConvDwUse3X3() 361 …conv_param->pad_u_ == conv_param->pad_l_ && conv_param->dilation_h_ == 1 && conv_param->dilation_w… in CheckConvDwUse3X3() 368 in_w == (conv_param->input_w_ + 2 * conv_param->pad_l_); in CheckConvDwUse3X3() [all …]
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/ |
D | deconvolution_grad_fp32_tests.cc | 57 conv_param->pad_l_ = 1; in TEST_F() 165 conv_param->pad_l_ = 1; in TEST_F() 267 conv_param->pad_l_ = 1; in TEST_F() 374 conv_param->pad_l_ = 1; in TEST_F() 481 conv_param->pad_l_ = 1; in TEST_F() 588 conv_param->pad_l_ = 1; in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/ |
D | pooling_parameter.h | 49 int pad_l_; member
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/ |
D | conv1x1_base.c | 31 int src_w = dst_w * conv_param->stride_w_ - conv_param->pad_l_; in Conv1x1InputPack()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/ |
D | conv2d.cc | 193 …KW_ == 1 && param_->stride_w_ == 1 && param_->dilation_w_ == 1 && param_->pad_l_ == 0 && param_->p… in SetBlockSize() 434 cl_int4 pad = {param_->pad_u_, param_->pad_d_, param_->pad_l_, param_->pad_r_}; in SetConstArgs() 581 … param->pad_u_ == 0 && param->pad_d_ == 0 && param->pad_l_ == 0 && param->pad_r_ == 0 && in UseFcReplaceConv() 621 …bool pad_is_all_0 = param->pad_u_ == 0 && param->pad_d_ == 0 && param->pad_l_ == 0 && param->pad_r… in UseWinograd4x4To6x6() 622 …bool pad_is_all_1 = param->pad_u_ == 1 && param->pad_d_ == 1 && param->pad_l_ == 1 && param->pad_r… in UseWinograd4x4To6x6()
|