Home
last modified time | relevance | path

Searched refs:h_out (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/tests/ut/cpp/dataset/
Drandom_crop_and_resize_op_test.cc39 int h_out = 1024; in TEST_F() local
46 TensorShape s_out({h_out, w_out, s_in[2]}); in TEST_F()
48 …auto op = std::make_unique<RandomCropAndResizeOp>(h_out, w_out, scale_lb, scale_ub, aspect_lb, asp… in TEST_F()
65 int h_out = 1024; in TEST_F() local
72 TensorShape s_out({h_out, w_out, s_in[2]}); in TEST_F()
74 …auto op = std::make_unique<RandomCropAndResizeOp>(h_out, w_out, scale_lb, scale_ub, aspect_lb, asp… in TEST_F()
91 int h_out = 1024; in TEST_F() local
98 TensorShape s_out({h_out, w_out, s_in[2]}); in TEST_F()
100 …auto op = std::make_unique<RandomCropAndResizeOp>(h_out, w_out, scale_lb, scale_ub, aspect_lb, asp… in TEST_F()
Drandom_crop_and_resize_with_bbox_op_test.cc43 int h_out = 1024; in TEST_F() local
49 …auto op = std::make_unique<RandomCropAndResizeWithBBoxOp>(h_out, w_out, scale_lb, scale_ub, aspect… in TEST_F()
73 int h_out = 1024; in TEST_F() local
79 …auto op = std::make_unique<RandomCropAndResizeWithBBoxOp>(h_out, w_out, scale_lb, scale_ub, aspect… in TEST_F()
91 int h_out = 1024; in TEST_F() local
97 …auto op = std::make_unique<RandomCropAndResizeWithBBoxOp>(h_out, w_out, scale_lb, scale_ub, aspect… in TEST_F()
/third_party/mindspore/mindspore/ops/operations/
D_thor_ops.py501 h_out = math.ceil((x_shape[2] - dilation_h * (kernel_size_h - 1)) / stride_h)
505 h_out = math.ceil(x_shape[2] / stride_h)
507 … pad_needed_h = max(0, (h_out - 1) * stride_h + dilation_h * (kernel_size_h - 1) + 1 - x_shape[2])
515h_out = 1 + (x_shape[2] + 2 * self.pad - kernel_size_h - (kernel_size_h - 1) * (dilation_h - 1)) /…
517 h_out = math.floor(h_out)
525 out_shape = [channel, k_h, k_w, batch_size, h_out, w_out]
581 h_out = math.ceil((x_shape[2] - dilation_h * (kernel_size_h - 1)) / stride_h)
585 h_out = math.ceil(x_shape[2] / stride_h)
587 … pad_needed_h = max(0, (h_out - 1) * stride_h + dilation_h * (kernel_size_h - 1) + 1 - x_shape[2])
599 out_shape = [batch_size, h_out, w_out, channel * k_h * k_w]
[all …]
Dnn_ops.py1574 h_out = math.ceil((x_shape[2] - dilation_h * (kernel_size_h - 1)) / stride_h)
1578 h_out = math.ceil(x_shape[2] / stride_h)
1581 … pad_needed_h = max(0, (h_out - 1) * stride_h + dilation_h * (kernel_size_h - 1) + 1 - x_shape[2])
1591h_out = 1 + (x_shape[2] + pad_top + pad_bottom - kernel_size_h - (kernel_size_h - 1) * (dilation_h…
1595 h_out = math.floor(h_out)
1602 out_shape = [x_shape[0], out_channel, h_out, w_out]
8379 h_out = math.ceil((x_shape[3] - dilation_h * (kernel_size_h - 1)) / stride_h)
8385 h_out = math.ceil(x_shape[3] / stride_h)
8392 … pad_needed_h = max(0, (h_out - 1) * stride_h + dilation_h * (kernel_size_h - 1) + 1 - x_shape[3])
8404 h_out = 1 + (x_shape[3] + pad_top + pad_bottom - kernel_size_h - (kernel_size_h - 1)
[all …]
/third_party/mindspore/mindspore/nn/layer/
Dconv.py1071h_out = _deconv_output_length(self.is_valid, self.is_same, self.is_pad, h, self.kernel_size[0],
1076 … return self.bias_add(self.conv2d_transpose(x, self.weight, (n, self.out_channels, h_out, w_out)),
1078 return self.conv2d_transpose(x, self.weight, (n, self.out_channels, h_out, w_out))
1268h_out = _deconv_output_length(self.is_valid, self.is_same, self.is_pad, h, self.kernel_size[0],
1272 output = self.conv2d_transpose(x, self.weight, (n, self.out_channels, h_out, w_out))
/third_party/ffmpeg/libavutil/
Dopt.h761 int av_opt_get_image_size(void *obj, const char *name, int search_flags, int *w_out, int *h_out);
Dopt.c952 int av_opt_get_image_size(void *obj, const char *name, int search_flags, int *w_out, int *h_out) in av_opt_get_image_size() argument
966 if (h_out) *h_out = *((int *)dst+1); in av_opt_get_image_size()
/third_party/mindspore/mindspore/core/abstract/
Dprim_nn.cc99 int64_t h_out = ((h_input + 2 * padding - (window - 1) - 1) / stride) + 1; in InferImplPooling() local
101 ShapeVector shape_out = {input_shape->shape()[0], input_shape->shape()[1], h_out, w_out}; in InferImplPooling()