/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/ |
D | update_thor_gradient.h | 39 size_t pad_w; member 68 if (gradient_size.pad_h != 0 || gradient_size.pad_w != 0) { in Launch() 70 …t size = (gradient_size.ori_h + gradient_size.pad_h) * (gradient_size.ori_w + gradient_size.pad_w); in Launch() 72 … gradient_size.ori_h + gradient_size.pad_h, gradient_size.ori_w + gradient_size.pad_w, 0, 0, 0.0, in Launch() 82 const int ldb = SizeToInt(gradient_size.ori_w + gradient_size.pad_w); in Launch() 83 const int ldc = SizeToInt(gradient_size.ori_w + gradient_size.pad_w); in Launch() 86 auto stride_b = SizeToInt(gradient_size.h * (gradient_size.ori_w + gradient_size.pad_w)); in Launch() 87 auto stride_c = SizeToInt(gradient_size.h * (gradient_size.ori_w + gradient_size.pad_w)); in Launch() 132 if (gradient_size.pad_h == 0 && gradient_size.pad_w == 0) { in Launch() 181 if (gradient_size.pad_h != 0 || gradient_size.pad_w != 0) { in InitSizeLists() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/ |
D | pooling_grad.c | 24 int pad_w = pooling_param->pad_l_; in AvgPoolingGrad() local 47 int over_w = pad_w - yw * stride_w; in AvgPoolingGrad() 63 int xw = yw * stride_w + kw - pad_w; in AvgPoolingGrad() 84 int xw = yw * stride_w + kw - pad_w; in AvgPoolingGrad() 107 int pad_w = pooling_param->pad_l_; in MaxPoolingGrad() local 125 int over_w = pad_w - yw * stride_w; in MaxPoolingGrad() 143 int xw = yw * stride_w + kw - pad_w; in MaxPoolingGrad() 173 int xw = yw * stride_w + kw - pad_w; in MaxPoolingGrad()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/ |
D | pooling_grad.c | 24 int pad_w = pooling_param->pad_l_; in AvgPoolingFp16Grad() local 47 int over_w = pad_w - yw * stride_w; in AvgPoolingFp16Grad() 63 int xw = yw * stride_w + kw - pad_w; in AvgPoolingFp16Grad() 84 int xw = yw * stride_w + kw - pad_w; in AvgPoolingFp16Grad() 109 int pad_w = pooling_param->pad_l_; in MaxPoolingFp16Grad() local 128 int over_w = pad_w - yw * stride_w; in MaxPoolingFp16Grad() 146 int xw = yw * stride_w + kw - pad_w; in MaxPoolingFp16Grad() 175 int xw = yw * stride_w + kw - pad_w; in MaxPoolingFp16Grad()
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/ |
D | caffe_conv_base_parser.cc | 41 (*pad)[2] = convParam.pad_w(); in ParsePads() 42 (*pad)[3] = convParam.pad_w(); in ParsePads() 51 (*pad)[2] = convParam.pad_w(); in ParsePads() 52 (*pad)[3] = convParam.pad_w(); in ParsePads()
|
D | caffe_pooling_parser.cc | 37 (*pad)[2] = poolingParam.pad_w(); in ParsePads() 38 (*pad)[3] = poolingParam.pad_w(); in ParsePads()
|
/third_party/mindspore/mindspore/core/ops/ |
D | avg_pool_3d.cc | 106 int64_t pad_w = std::max((tail_w > 0 ? kernel_w - tail_w : kernel_w - stride_w), (int64_t)0); in GetPadsByPadding() local 111 pad_list->push_back(static_cast<int64_t>(std::floor(pad_w / 2))); in GetPadsByPadding() 112 pad_list->push_back(pad_w - pad_list->at(4)); in GetPadsByPadding()
|
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/ |
D | dataset.py | 173 pad_w = config.img_width - img_data.shape[1] 174 assert ((pad_h >= 0) and (pad_w >= 0)) 192 pad_w = config.img_width - img_data.shape[1] 193 assert ((pad_h >= 0) and (pad_w >= 0))
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | winograd_transform.c | 29 int pad_w = conv_param->pad_l_; in WinogradInputTransform() local 35 int src_x_s = (out_tile_index % out_w_block_num) * output_unit - pad_w; in WinogradInputTransform()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | pooling_int8.c | 24 int pad_w = pooling_param->pad_l_; in AvgPoolingInt8() local 49 int in_w_index = out_w_index * stride_w - pad_w; in AvgPoolingInt8() 280 int pad_w = pooling_param->pad_l_; in MaxPoolingInt8() local 304 int in_w_index = out_w_index * stride_w - pad_w; in MaxPoolingInt8()
|
D | pack_int8.c | 748 int pad_w = conv_param->pad_l_; in Im2ColPackUnitInt8Opt() local 762 int input_w = block_start % out_w * stride_w - pad_w; in Im2ColPackUnitInt8Opt()
|
D | conv3x3_int8.c | 787 int pad_w = conv_param->pad_l_; in Conv3x3Int8InputTransform() local 798 int origin_x = (x_id % out_w_block) * OUPUT_UNIT - pad_w; in Conv3x3Int8InputTransform()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/ |
D | winograd_transform_fp16.c | 33 int pad_w = conv_param->pad_l_; in WinogradInputTransformFp16() local 40 int src_x_s = (out_tile_index % out_w_block_num) * output_unit - pad_w; in WinogradInputTransformFp16()
|
D | pooling_fp16.c | 257 int pad_w = pooling_param->pad_l_; in MaxPoolingFp16() local 283 int in_w_index = out_w_index * stride_w - pad_w; in MaxPoolingFp16()
|
D | pack_fp16.c | 49 int pad_w = conv_param->pad_l_; in Im2ColPackUnitFp16() local 60 int input_w = block_start % out_w * stride_w - pad_w; in Im2ColPackUnitFp16()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/ |
D | avgpool_3d_grad_fusion.cc | 135 auto pad_w = pad_list[kDim4] + pad_list[kDim5]; in ConstructMultiplier() local 138 auto len_w = ori_input_shape[kDim4] + pad_w; in ConstructMultiplier()
|
D | avgpool_3d_fusion.cc | 171 auto pad_w = pad_list[kDim4] + pad_list[kDim5]; in ConstructMultiplier() local 174 auto len_w = fw + pad_w; in ConstructMultiplier()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/ |
D | conv2d_transpose.cc | 110 int pad_w = param->pad_l_; in SetConstArgs() local 120 cl_int2 padding = {pad_h, pad_w}; in SetConstArgs()
|
/third_party/mindspore/third_party/proto/caffe/ |
D | caffe.proto | 606 optional uint32 pad_w = 10 [default = 0]; // The padding width (2D only) field 928 optional uint32 pad_w = 10 [default = 0]; // The padding width field
|