/third_party/boost/boost/math/distributions/ |
D | arcsine.hpp | 84 …inline bool check_x_minmax(const char* function, const RealType& x_min, const RealType& x_max, Rea… in check_x_minmax() argument 86 if (x_min >= x_max) in check_x_minmax() 88 …ing msg = "x_max argument is %1%, but must be > x_min = " + lexical_cast<std::string>(x_min) + "!"; in check_x_minmax() 116 …inline bool check_x(const char* function, const RealType& x_min, const RealType& x_max, const Real… in check_x() argument 125 if ((x < x_min) || (x > x_max)) in check_x() 140 …inline bool check_dist(const char* function, const RealType& x_min, const RealType& x_max, RealTyp… in check_dist() argument 142 return check_x_min(function, x_min, result, pol) in check_dist() 144 && check_x_minmax(function, x_min, x_max, result, pol); in check_dist() 148 …inline bool check_dist_and_x(const char* function, const RealType& x_min, const RealType& x_max, R… in check_dist_and_x() argument 150 return check_dist(function, x_min, x_max, result, pol) in check_dist_and_x() [all …]
|
/third_party/mindspore/mindspore/ops/_grad/ |
D | grad_quant_ops.py | 31 def bprop(x, x_min, x_max, out, dout): argument 32 dx = op(dout, x, x_min, x_max) 33 return dx, zeros_like(x_min), zeros_like(x_max) 44 def bprop(x, x_min, x_max, out, dout): argument 45 dx = op(dout, x, x_min, x_max) 46 return dx, zeros_like(x_min), zeros_like(x_max) 57 def bprop(x, x_min, x_max, out, dout): argument 58 dx = op(dout, x, x_min, x_max) 59 return dx, zeros_like(x_min), zeros_like(x_max) 73 def bprop(x, x_min, x_max, out, dout): argument [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | motion_estimation.c | 42 if (x >= x_min && x <= x_max && y >= y_min && y <= y_max)\ 46 int width, int height, int x_min, int x_max, int y_min, int y_max) in ff_me_init_context() argument 53 me_ctx->x_min = x_min; in ff_me_init_context() 80 int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param); in ff_me_search_esa() local 90 for (x = x_min; x <= x_max; x++) in ff_me_search_esa() 99 int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param); in ff_me_search_tss() local 130 int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param); in ff_me_search_tdls() local 162 int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param); in ff_me_search_ntss() local 215 int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param); in ff_me_search_fss() local 247 int x_min = FFMAX(me_ctx->x_min, x_mb - me_ctx->search_param); in ff_me_search_ds() local [all …]
|
D | motion_estimation.h | 51 int x_min; member 65 int width, int height, int x_min, int x_max, int y_min, int y_max);
|
D | vf_hysteresis.c | 183 int x_min, x_max, y_min, y_max, yy, xx; in hysteresis8() local 187 x_min = posx > 0 ? posx - 1 : 0; in hysteresis8() 193 for (xx = x_min; xx <= x_max; xx++) { in hysteresis8() 232 int x_min, x_max, y_min, y_max, yy, xx; in hysteresis16() local 236 x_min = posx > 0 ? posx - 1 : 0; in hysteresis16() 242 for (xx = x_min; xx <= x_max; xx++) { in hysteresis16()
|
D | vf_minterpolate.c | 269 x = av_clip(x, me_ctx->x_min, me_ctx->x_max); in get_sbad() 271 …mv_x = av_clip(x_mv - x, -FFMIN(x - me_ctx->x_min, me_ctx->x_max - x), FFMIN(x - me_ctx->x_min, me… in get_sbad() 289 int x_min = me_ctx->x_min + me_ctx->mb_size / 2; in get_sbad_ob() local 298 x = av_clip(x, x_min, x_max); in get_sbad_ob() 300 mv_x = av_clip(x_mv - x, -FFMIN(x - x_min, x_max - x), FFMIN(x - x_min, x_max - x)); in get_sbad_ob() 315 int x_min = me_ctx->x_min + me_ctx->mb_size / 2; in get_sad_ob() local 324 x = av_clip(x, x_min, x_max); in get_sad_ob() 326 x_mv = av_clip(x_mv, x_min, x_max); in get_sad_ob() 857 pixel_mvs->mvs[pixel_refs->nb][0] = av_clip((mv_x * alpha) / ALPHA_MAX, x_min, x_max);\ 862 …pixel_mvs->mvs[pixel_refs->nb][0] = av_clip(-mv_x * (ALPHA_MAX - alpha) / ALPHA_MAX, x_min, x_max)… [all …]
|
D | vf_drawtext.c | 1299 int x_min = 32000, x_max = -32000; in draw_text() local 1386 x_min = FFMIN(glyph->bbox.xMin, x_min); in draw_text() 1390 s->max_glyph_w = x_max - x_min; in draw_text()
|
/third_party/boost/libs/math/doc/distributions/ |
D | arcsine.qbk | 23 // Constructor from two range parameters, x_min and x_max: 24 arcsine_distribution(RealType x_min, RealType x_max); 27 RealType x_min() const; 37 This is implemented as a generalized version with support from ['x_min] to ['x_max] 38 providing the 'standard arcsine distribution' as default with ['x_min = 0] and ['x_max = 1]. 53 defined on the interval \[['x_min, x_max]\] is given by: 55 [expression f(x; x_min, x_max) = 1 /([pi][sdot][sqrt]((x - x_min)[sdot](x_max - x_min))] 66 centered on ['(x_max - x_min)/2], 69 If random variate ['x] is ['x_min] or ['x_max], then the PDF is infinity. 70 If random variate ['x] is ['x_min] then the CDF is zero. [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | resize_cubic_op.cc | 92 int x_min = static_cast<int>((center - threshold + 0.5)); in calc_coeff() local 93 if (x_min < 0) { in calc_coeff() 94 x_min = 0; in calc_coeff() 101 x_max -= x_min; in calc_coeff() 104 double m = interp->interpolation((x + x_min - center + 0.5) * ss); in calc_coeff() 117 region[xx * 2] = x_min; in calc_coeff() 153 int x_min = regions[xx * 2]; in ImagingHorizontalInterp() local 158 ss0 += (input_ptr[(yy + offset) * input_width + (x + x_min) * 3]) * k[x]; in ImagingHorizontalInterp() 159 ss1 += (input_ptr[(yy + offset) * input_width + (x + x_min) * 3 + 1]) * k[x]; in ImagingHorizontalInterp() 160 ss2 += (input_ptr[(yy + offset) * input_width + (x + x_min) * 3 + 2]) * k[x]; in ImagingHorizontalInterp()
|
/third_party/mindspore/mindspore/ops/_op_impl/_custom_op/ |
D | minmax_update_perchannel.py | 65 x_min = te.lang.cce.reduce_min(x, axis=axis) 67 x_min = te.lang.cce.broadcast(x_min, shape_min) 70 min_val, ema_decay), te.lang.cce.vmuls(x_min, (1 - ema_decay)))
|
D | minmax_update_perlayer.py | 62 x_min = te.lang.cce.reduce_min(x, axis=axis) 64 x_min = te.lang.cce.broadcast(x_min, shape_min) 67 min_val, ema_decay), te.lang.cce.vmuls(x_min, (1 - ema_decay)))
|
/third_party/freetype/src/sfnt/ |
D | ttcolr.c | 308 FT_Int x_min, x_max, y_min, y_max; in tt_face_colr_blend_layer() local 311 x_min = FT_MIN( dstSlot->bitmap_left, srcSlot->bitmap_left ); in tt_face_colr_blend_layer() 319 if ( x_min != dstSlot->bitmap_left || in tt_face_colr_blend_layer() 326 FT_UInt width = (FT_UInt)( x_max - x_min ); in tt_face_colr_blend_layer() 342 4 * ( dstSlot->bitmap_left - x_min ); in tt_face_colr_blend_layer() 355 dstSlot->bitmap_left = x_min; in tt_face_colr_blend_layer()
|
D | sfwoff2.c | 673 FT_Int x_min = 0; in compute_bbox() local 686 x_min = points[0].x; in compute_bbox() 698 x_min = FT_MIN( x, x_min ); in compute_bbox() 708 WRITE_SHORT( pointer, x_min ); in compute_bbox() 713 *src_x_min = (FT_UShort)x_min; in compute_bbox() 940 FT_UShort x_min = 0; in reconstruct_glyf() local 999 FT_READ_USHORT( x_min ) ) in reconstruct_glyf() 1129 FT_READ_USHORT( x_min ) ) in reconstruct_glyf() 1139 compute_bbox( total_n_points, points, glyph_buf, &x_min ); in reconstruct_glyf() 1201 info->x_mins[i] = (FT_Short)x_min; in reconstruct_glyf()
|
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/ |
D | ttcolr.c | 309 FT_Int x_min, x_max, y_min, y_max; in tt_face_colr_blend_layer() local 312 x_min = FT_MIN( dstSlot->bitmap_left, srcSlot->bitmap_left ); in tt_face_colr_blend_layer() 320 if ( x_min != dstSlot->bitmap_left || in tt_face_colr_blend_layer() 327 FT_UInt width = (FT_UInt)( x_max - x_min ); in tt_face_colr_blend_layer() 343 4 * ( dstSlot->bitmap_left - x_min ); in tt_face_colr_blend_layer() 356 dstSlot->bitmap_left = x_min; in tt_face_colr_blend_layer()
|
/third_party/mindspore/mindspore/nn/layer/ |
D | math.py | 716 x_min = self.select(comp_less, x, y) 728 log_gamma_correction_x = _log_gamma_correction(x_min, self.minimax_coeff) 735 … + (x_min - 0.5) * self.log(x_min / (x_min + y_max)) - y_max * self.log1p(x_min / y_max) 737 …cancelled_stirling = -1 * (x_min + y_max - 0.5) * self.log1p(x_min / y_max) - x_min * self.log(y_m… 742 log_beta_one_large = self.lgamma(x_min) + log_gamma_difference_big_y 745 log_beta_small = self.lgamma(x_min) + self.lgamma(y_max) - self.lgamma(x_min + y_max) 746 comp_xless8 = self.less(x_min, 8)
|
/third_party/mesa3d/src/intel/vulkan/ |
D | gfx7_cmd_buffer.c | 83 uint32_t x_min = s->offset.x; in gfx7_cmd_buffer_emit_scissor() local 91 x_min = clamp_int64((uint64_t) x_min, in gfx7_cmd_buffer_emit_scissor() 101 x_min = clamp_int64((uint64_t) x_min, 0, max); in gfx7_cmd_buffer_emit_scissor() 108 .ScissorRectangleXMin = x_min, in gfx7_cmd_buffer_emit_scissor()
|
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/src/ |
D | yolo_dataset.py | 137 x_min = bbox[0] 141 return [x_min, y_min, x_min+w, y_min+h]
|
/third_party/mindspore/mindspore/ops/composite/ |
D | clip_ops.py | 77 x_min = min_op(x, clip_value_max) 78 x_max = max_op(x_min, clip_value_min)
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | sfwoff2.c | 662 FT_Int x_min = 0; in compute_bbox() local 675 x_min = points[0].x; in compute_bbox() 687 x_min = FT_MIN( x, x_min ); in compute_bbox() 697 WRITE_SHORT( pointer, x_min ); in compute_bbox() 702 *src_x_min = (FT_UShort)x_min; in compute_bbox() 929 FT_UShort x_min = 0; in reconstruct_glyf() local 988 FT_READ_USHORT( x_min ) ) in reconstruct_glyf() 1118 FT_READ_USHORT( x_min ) ) in reconstruct_glyf() 1128 compute_bbox( total_n_points, points, glyph_buf, &x_min ); in reconstruct_glyf() 1190 info->x_mins[i] = (FT_Short)x_min; in reconstruct_glyf()
|
D | ttcolr.c | 1155 FT_Int x_min, x_max, y_min, y_max; in tt_face_colr_blend_layer() local 1158 x_min = FT_MIN( dstSlot->bitmap_left, srcSlot->bitmap_left ); in tt_face_colr_blend_layer() 1166 if ( x_min != dstSlot->bitmap_left || in tt_face_colr_blend_layer() 1173 FT_UInt width = (FT_UInt)( x_max - x_min ); in tt_face_colr_blend_layer() 1189 4 * ( dstSlot->bitmap_left - x_min ); in tt_face_colr_blend_layer() 1202 dstSlot->bitmap_left = x_min; in tt_face_colr_blend_layer()
|
/third_party/boost/libs/math/example/ |
D | arcsine_example.cpp | 66 BOOST_ASSERT(as.x_min() == 2.); // as.x_min() returns 2. in main()
|
/third_party/boost/libs/math/test/ |
D | test_arcsine.cpp | 254 BOOST_CHECK_EQUAL(arcsine_01.x_min(), 0); in test_spots() 341 BOOST_CHECK_EQUAL(as_m11.x_min(), -1); // in test_spots() 393 BOOST_CHECK_EQUAL(as_m2m1.x_min(), -2); // in test_spots() 541 BOOST_CHECK_EQUAL(as.x_min(), 0); // in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/boost/gil/extension/dynamic_image/ |
D | image_view_factory.hpp | 254 std::ptrdiff_t x_min, std::ptrdiff_t y_min, std::ptrdiff_t width, std::ptrdiff_t height) in subimage_view() argument 258 return apply_operation(src, subimage_view_fn(point_t(x_min, y_min),point_t(width, height))); in subimage_view()
|
/third_party/boost/boost/gil/ |
D | image_view_factory.hpp | 265 typename View::coord_t x_min, in subimage_view() argument 270 return View(width, height, src.xy_at(x_min, y_min)); in subimage_view()
|
/third_party/mindspore/mindspore/explainer/ |
D | _image_classification_runner.py | 899 x_min, y_min, x_len, y_len = bboxes[idx][j].astype(int) 900 mask[:, :, x_min:x_min + x_len, y_min:y_min + y_len] = 1
|