Home
last modified time | relevance | path

Searched refs:pad_w (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/
Dupdate_thor_gradient.h39 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/
Dpooling_grad.c24 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/
Dpooling_grad.c24 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/
Dcaffe_conv_base_parser.cc41 (*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()
Dcaffe_pooling_parser.cc37 (*pad)[2] = poolingParam.pad_w(); in ParsePads()
38 (*pad)[3] = poolingParam.pad_w(); in ParsePads()
/third_party/mindspore/mindspore/core/ops/
Davg_pool_3d.cc106 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/
Ddataset.py173 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/
Dwinograd_transform.c29 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/
Dpooling_int8.c24 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()
Dpack_int8.c748 int pad_w = conv_param->pad_l_; in Im2ColPackUnitInt8Opt() local
762 int input_w = block_start % out_w * stride_w - pad_w; in Im2ColPackUnitInt8Opt()
Dconv3x3_int8.c787 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/
Dwinograd_transform_fp16.c33 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()
Dpooling_fp16.c257 int pad_w = pooling_param->pad_l_; in MaxPoolingFp16() local
283 int in_w_index = out_w_index * stride_w - pad_w; in MaxPoolingFp16()
Dpack_fp16.c49 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/
Davgpool_3d_grad_fusion.cc135 auto pad_w = pad_list[kDim4] + pad_list[kDim5]; in ConstructMultiplier() local
138 auto len_w = ori_input_shape[kDim4] + pad_w; in ConstructMultiplier()
Davgpool_3d_fusion.cc171 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/
Dconv2d_transpose.cc110 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/
Dcaffe.proto606 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