Home
last modified time | relevance | path

Searched refs:oh (Results 1 – 25 of 164) sorted by relevance

1234567

/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dresize_tests.cc40 int oh = 4; in TEST_F() local
45 std::vector<int> output_shape = {1, oh, ow, 1}; in TEST_F()
49 auto *param = CreateParameter(method, oh, ow, align_corners); in TEST_F()
56 int oh = 3; in TEST_F() local
61 std::vector<int> output_shape = {1, oh, ow, 1}; in TEST_F()
65 auto *param = CreateParameter(method, oh, ow, align_corners); in TEST_F()
72 int oh = 4; in TEST_F() local
77 std::vector<int> output_shape = {1, oh, ow, 1}; in TEST_F()
81 auto *param = CreateParameter(method, oh, ow, align_corners); in TEST_F()
88 int oh = 4; in TEST_F() local
[all …]
Dconv2d_transpose_tests.cc25 …arameter(int n, int h, int w, int ci, int co, int kh, int kw, std::vector<int> pad, int oh, int ow, in CreateParameter() argument
46 *output_shape = {1, oh, ow, co}; in CreateParameter()
55 int oh = 4; in TEST_F() local
70 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
82 int oh = 5; in TEST_F() local
98 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
109 int oh = 5; in TEST_F() local
126 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
138 int oh = 4; in TEST_F() local
154 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dadaptive_avg_pool2d_impl.cu35 for (uint oh = 0; oh < output_height; oh++) { in AdaptiveAvgPool2DKernel() local
36 uint ih0 = start_index(oh, output_height, input_height); in AdaptiveAvgPool2DKernel()
37 uint ih1 = end_index(oh, output_height, input_height); in AdaptiveAvgPool2DKernel()
52 output_ptr[oh * output_width + ow] = sum / kh / kw; in AdaptiveAvgPool2DKernel()
66 for (uint oh = 0; oh < output_height; oh++) { in AdaptiveAvgPool2DKernel() local
67 uint ih0 = start_index(oh, output_height, input_height); in AdaptiveAvgPool2DKernel()
68 uint ih1 = end_index(oh, output_height, input_height); in AdaptiveAvgPool2DKernel()
83 output_ptr[oh * output_width + ow] = sum / __uint2float_rn(kh * kw); in AdaptiveAvgPool2DKernel()
97 for (uint oh = 0; oh < output_height; oh++) { in AdaptiveAvgPool2DKernel() local
98 uint ih0 = start_index(oh, output_height, input_height); in AdaptiveAvgPool2DKernel()
[all …]
Ddepthtospace_impl.cu23 const size_t on, const size_t oc, const size_t oh, in DepthToSpace() argument
32 temp_stride = oc * oh * ow; in DepthToSpace()
40 temp_stride /= oh; in DepthToSpace()
64 const size_t on, const size_t oc, const size_t oh, in CalDepthToSpace() argument
68 size, input, in, ic, ih, iw, on, oc, oh, ow, r, output); in CalDepthToSpace()
76 const size_t oh, const size_t ow,
83 const size_t oh, const size_t ow,
90 const size_t oh, const size_t ow,
97 const size_t oh, const size_t ow,
104 const size_t oh, const size_t ow,
[all …]
Dspacetodepth_impl.cu24 const size_t on, const size_t oc, const size_t oh, in SpaceToDepth() argument
52 output_pos = (output_pos * oh) + (input_pos_array[2] / r); in SpaceToDepth()
64 const size_t on, const size_t oc, const size_t oh, in CalSpaceToDepth() argument
68 size, input, in, ic, ih, iw, on, oc, oh, ow, r, output); in CalSpaceToDepth()
76 const size_t oh, const size_t ow,
83 const size_t oh, const size_t ow,
90 const size_t oh, const size_t ow,
97 const size_t oh, const size_t ow,
104 const size_t oh, const size_t ow,
111 const size_t oh, const size_t ow,
[all …]
Dadaptive_avg_pool2d_grad_impl.cu51 for (uint oh = oh0; oh < oh1; oh++) { in AdaptiveAvgPool2DGradKernel() local
53 output_ptr[oh * output_width + ow] += delta; in AdaptiveAvgPool2DGradKernel()
85 for (uint oh = oh0; oh < oh1; oh++) { in AdaptiveAvgPool2DGradKernel() local
87 output_ptr[oh * output_width + ow] += delta; in AdaptiveAvgPool2DGradKernel()
119 for (uint oh = oh0; oh < oh1; oh++) { in AdaptiveAvgPool2DGradKernel() local
121 output_ptr[oh * output_width + ow] += delta; in AdaptiveAvgPool2DGradKernel()
153 for (uint oh = oh0; oh < oh1; oh++) { in AdaptiveAvgPool2DGradKernel() local
155 output_ptr[oh * output_width + ow] += delta; in AdaptiveAvgPool2DGradKernel()
Dbatchtospace_impl.cu23 const size_t on, const size_t oh, const size_t ow, in BatchToSpace() argument
37 temp_stride = oc * oh * ow; in BatchToSpace()
45 temp_stride /= oh; in BatchToSpace()
65 const size_t on, const size_t oh, const size_t ow, in CalBatchToSpace() argument
70 …size, input, in, ih, iw, ic, on, oh, ow, oc, crop_up, crop_dn, crop_lft, crop_rht, block_num, outp… in CalBatchToSpace()
76 const size_t on, const size_t oh, const size_t ow,
82 const size_t on, const size_t oh, const size_t ow,
88 const size_t on, const size_t oh, const size_t ow,
94 const size_t on, const size_t oh, const size_t ow,
100 const size_t on, const size_t oh, const size_t ow,
[all …]
Dspacetobatch_impl.cu23 const size_t on, const size_t oh, const size_t ow, in SpaceToBatch() argument
54 output_pos = (output_pos + idx_ic) * oh; in SpaceToBatch()
65 const size_t on, const size_t oh, const size_t ow, in CalSpaceToBatch() argument
69 cudaMemset(output, 0, on * oc * oh * ow * sizeof(T)); in CalSpaceToBatch()
71 … size, input, in, ih, iw, ic, on, oh, ow, oc, pad_up, pad_dn, pad_lft, pad_rht, block_num, output); in CalSpaceToBatch()
77 const size_t on, const size_t oh, const size_t ow,
83 const size_t on, const size_t oh, const size_t ow,
89 const size_t on, const size_t oh, const size_t ow,
95 const size_t on, const size_t oh, const size_t ow,
101 const size_t on, const size_t oh, const size_t ow,
[all …]
/third_party/typescript/tests/baselines/reference/
DjsdocParamTagTypeLiteral.types121 * @param {boolean} opts5[].what.bad[].oh - Oh ... that's how you do it.
125 …hat: { a: string; bad: { idea: string; oh: boolean; }; …
126 >opts5 : { help: string; what: { a: string; bad: { idea: string; oh: boolean; }[]; }; unnest: numbe…
130 >opts5[0].what.bad[0] : { idea: string; oh: boolean; }
131 >opts5[0].what.bad : { idea: string; oh: boolean; }[]
132 >opts5[0].what : { a: string; bad: { idea: string; oh: boolean; }[]; }
133 >opts5[0] : { help: string; what: { a: string; bad: { idea: string; oh: boolean; }[]; }; unnest: nu…
134 >opts5 : { help: string; what: { a: string; bad: { idea: string; oh: boolean; }[]; }; unnest: numbe…
136 >what : { a: string; bad: { idea: string; oh: boolean; }[]; }
137 >bad : { idea: string; oh: boolean; }[]
[all …]
DaccessorsOverrideProperty7.types13 get p() { return 'oh no' } // error
15 >'oh no' : "oh no"
DpropertyOverridesAccessors5.types5 get p() { return 'oh no' }
7 >'oh no' : "oh no"
DmodifiersInObjectLiterals.types4 >{ public foo: 'hey', private bar: 'nay', protected baz: 'oh my', abstract noWay: 'yes' } : { foo: …
14 protected baz: 'oh my',
16 >'oh my' : "oh my"
DunderscoreThisInDerivedClass02.types26 var _this = "uh-oh?";
28 >"uh-oh?" : "uh-oh?"
DensureNoCrashExportAssignmentDefineProperrtyPotentialMerge.types15 Object.defineProperty(module, "exports", { value: "oh no" });
16 >Object.defineProperty(module, "exports", { value: "oh no" }) : any
22 >{ value: "oh no" } : { value: string; }
24 >"oh no" : "oh no"
DpropertyOverridesAccessors.types5 get p() { return 'oh no' }
7 >'oh no' : "oh no"
DaccessorsOverrideProperty6.types13 get p() { return 'oh no' } // error
15 >'oh no' : "oh no"
DaccessorsOverrideProperty.types13 get p() { return 'oh no' } // error
15 >'oh no' : "oh no"
DunderscoreThisInDerivedClass01.types27 var _this = "uh-oh?";
29 >"uh-oh?" : "uh-oh?"
/third_party/mindspore/tests/st/networks/models/deeplabv3/src/utils/
Dcustom_transforms.py92 oh = int(1.0 * h * ow / w)
94 oh = short_size
95 ow = int(1.0 * w * oh / h)
96 img = img.resize((ow, oh), Image.BILINEAR)
97 mask = mask.resize((ow, oh), Image.NEAREST)
100 padh = self.crop_size - oh if oh < self.crop_size else 0
122 oh = self.crop_size
123 ow = int(1.0 * w * oh / h)
126 oh = int(1.0 * h * ow / w)
127 img = img.resize((ow, oh), Image.BILINEAR)
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dconv_depthwise_fp32.c48 for (int oh = h_start; oh < h_end; oh++) { in ConvDw() local
49 float *dst_data = dst + oh * conv_param->output_w_ * conv_param->output_channel_; in ConvDw()
51 int ih_origin = oh * conv_param->stride_h_ - conv_param->pad_u_; in ConvDw()
214 for (int oh = top; oh < bottom; oh++) { in ConvDwBorder() local
215 int ih = oh * conv_param->stride_h_ - conv_param->pad_u_; in ConvDwBorder()
267 for (int oh = 0; oh < height; oh++) { in ConvDwCenter() local
689 int oh = start_oh; in ConvDw3x3() local
690 if (oh == 0) { in ConvDw3x3()
695 ConvDw3x3InitRow(src + oh * line, lines, conv_param->output_w_, conv_param->input_channel_); in ConvDw3x3()
698 …ConvDw3x3Line(dst + oh * line, lines, weight_data, bias_data, conv_param->output_w_, conv_param->i… in ConvDw3x3()
[all …]
Dconv_common_fp32.c309 for (int oh = top; oh < bottom; oh++) { // now h is only loop one time in SWBorder() local
310 int ih = oh * conv_param->stride_h_ - conv_param->pad_u_; in SWBorder()
387 for (int oh = oh_start; oh < oh_end; oh += 1) { in ConvSWFp32() local
388 float *dst_oh = output_data + oh * out_h_step; in ConvSWFp32()
402 if (oh < top || oh >= bottom) { // oh in up or down border in ConvSWFp32()
403 …SWBorder(dst_oc, input_data, weight, bias, oh, oh + 1, 0, out_w, conv_param, sw_param, kernel_bord… in ConvSWFp32()
407 …SWBorder(dst_oc, input_data, weight, bias, oh, oh + 1, 0, left, conv_param, sw_param, kernel_borde… in ConvSWFp32()
410 const float *src_w = src_h + (oh - top) * in_sh_step; in ConvSWFp32()
423 …SWBorder(dst_oc, input_data, weight, bias, oh, oh + 1, right, out_w, conv_param, sw_param, kernel_… in ConvSWFp32()
Ddeconv_fp32.c68 int oh = ih * conv_param->stride_h_ - conv_param->pad_u_; in DeConvPostFp32C8() local
71 int kh_start = MSMAX(0, UP_DIV(-oh, conv_param->dilation_h_)); in DeConvPostFp32C8()
72 …int kh_end = MSMIN(conv_param->kernel_h_, UP_DIV(conv_param->output_h_ - oh, conv_param->dilation_… in DeConvPostFp32C8()
78 … int dst_index = oh * dst_oh_stride + ow * dst_ow_stride + kh * dst_kh_stride + kw * dst_kw_stride; in DeConvPostFp32C8()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dconv_depthwise_fp16.c365 int oh = start_oh; in ConvDw3x3Fp16() local
366 if (oh == 0) { in ConvDw3x3Fp16()
371 … ConvDw3x3InitRowFp16(src + oh * line, lines, conv_param->output_w_, conv_param->input_channel_); in ConvDw3x3Fp16()
374 …ConvDw3x3LineFp16(dst + oh * line, lines, weight_data, bias_data, conv_param->output_w_, conv_para… in ConvDw3x3Fp16()
376 for (oh = start_oh + 1; oh < end_oh - 1; oh++) { in ConvDw3x3Fp16()
378 …ConvDw3x3RowFp16(src + oh * line + line, lines, conv_param->output_w_, conv_param->input_channel_); in ConvDw3x3Fp16()
380 ConvDw3x3LineFp16(dst + oh * line, lines, weight_data, bias_data, conv_param->output_w_, in ConvDw3x3Fp16()
383 if (oh == conv_param->output_h_ - 1) { in ConvDw3x3Fp16()
388 …ConvDw3x3RowFp16(src + oh * line + line, lines, conv_param->output_w_, conv_param->input_channel_); in ConvDw3x3Fp16()
391 …ConvDw3x3LineFp16(dst + oh * line, lines, weight_data, bias_data, conv_param->output_w_, conv_para… in ConvDw3x3Fp16()
[all …]
Ddeconv_fp16.c43 int oh = ih * conv_param->stride_h_ - conv_param->pad_u_; in DeConvPostFp16() local
46 int kh_start = MSMAX(0, UP_DIV(-oh, conv_param->dilation_h_)); in DeConvPostFp16()
47 …int kh_end = MSMIN(conv_param->kernel_h_, UP_DIV(conv_param->output_h_ - oh, conv_param->dilation_… in DeConvPostFp16()
53 … int dst_index = oh * dst_oh_stride + ow * dst_ow_stride + kh * dst_kh_stride + kw * dst_kw_stride; in DeConvPostFp16()
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dllseek.c53 static int _llseek(unsigned int fd, unsigned long oh, in _llseek() argument
60 static int _llseek(unsigned int fd, unsigned long oh, in _llseek() argument
63 return syscall(__NR_llseek, fd, oh, ol, result, origin); in _llseek()

1234567