/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() 91 msg.c_str(), x_max, pol); 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 143 && check_x_max(function, x_max, result, pol) in check_dist() 144 && check_x_minmax(function, x_min, x_max, result, pol); in check_dist() 148 …k_dist_and_x(const char* function, const RealType& x_min, const RealType& x_max, RealType x, RealT… 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 54 me_ctx->x_max = x_max; in ff_me_init_context() 82 int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max); in ff_me_search_esa() local 90 for (x = x_min; x <= x_max; x++) in ff_me_search_esa() 101 int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max); in ff_me_search_tss() local 132 int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max); in ff_me_search_tdls() local 164 int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max); in ff_me_search_ntss() local 217 int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max); in ff_me_search_fss() local 249 int x_max = FFMIN(x_mb + me_ctx->search_param, me_ctx->x_max); in ff_me_search_ds() local [all …]
|
D | motion_estimation.h | 52 int x_max; 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 188 x_max = posx < w - 1 ? posx + 1 : posx; 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 237 x_max = posx < w - 1 ? posx + 1 : posx; 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 …v_clip(x_mv - x, -FFMIN(x - me_ctx->x_min, me_ctx->x_max - x), FFMIN(x - me_ctx->x_min, me_ctx->x_… in get_sbad() 290 int x_max = me_ctx->x_max - 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() 316 int x_max = me_ctx->x_max - 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 …ixel_mvs->mvs[pixel_refs->nb][0] = av_clip(-mv_x * (ALPHA_MAX - alpha) / ALPHA_MAX, x_min, x_max);\ [all …]
|
/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); 28 RealType x_max() 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. 71 If random variate ['x] is ['x_max] then the CDF is unity. [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | resize_cubic_op.cc | 97 int x_max = static_cast<int>((center + threshold + 0.5)); in calc_coeff() local 98 if (x_max > input_size) { in calc_coeff() 99 x_max = input_size; in calc_coeff() 101 x_max -= x_min; in calc_coeff() 103 for (x = 0; x < x_max; x++) { in calc_coeff() 108 for (x = 0; x < x_max; x++) { in calc_coeff() 118 region[xx * 2 + 1] = x_max; in calc_coeff() 154 int x_max = regions[xx * 2 + 1]; in ImagingHorizontalInterp() local 157 for (int x = 0; x < x_max; x++) { in ImagingHorizontalInterp()
|
/third_party/mindspore/mindspore/explainer/explanation/_counterfactual/ |
D | hierarchical_occlusion.py | 267 x_max, y_max = cls._get_step_xy_max(step, background.shape[-1], background.shape[-2]) 269 if x_max <= step.x or y_max <= step.y: 273 background[..., step.y:y_max, step.x:x_max] = mask[..., step.y:y_max, step.x:x_max] 278 background[..., c, step.y:y_max, step.x:x_max] = mask[c] 334 x_max, y_max = cls._get_step_xy_max(step, background.shape[-1], background.shape[-2]) 336 if x_max <= step.x or y_max <= step.y: 339 background[..., step.y:y_max, step.x:x_max] = image[..., step.y:y_max, step.x:x_max] 372 x_max = step.x + step.width 375 if x_max > x_limit: 376 x_max = x_limit [all …]
|
/third_party/mindspore/mindspore/ops/_op_impl/_custom_op/ |
D | minmax_update_perchannel.py | 66 x_max = te.lang.cce.reduce_max(x, axis=axis) 68 x_max = te.lang.cce.broadcast(x_max, shape_min) 72 max_val, ema_decay), te.lang.cce.vmuls(x_max, (1 - ema_decay)))
|
D | minmax_update_perlayer.py | 63 x_max = te.lang.cce.reduce_max(x, axis=axis) 65 x_max = te.lang.cce.broadcast(x_max, shape_min) 69 max_val, ema_decay), te.lang.cce.vmuls(x_max, (1 - ema_decay)))
|
/third_party/boost/libs/numeric/odeint/examples/ |
D | molecular_dynamics_cells.cpp | 119 double x_max , y_max , cell_size; member 190 if( cell_index[0] >= m_p.n_cell_x ) x2[0] += m_p.x_max; in operator ()() 191 if( cell_index[0] < 0 ) x2[0] -= m_p.x_max; in operator ()() 213 m_p.x_max = xmax; in md_system_bs() 280 x[i][0] = periodic_bc( x[ i ][0] , m_p.x_max ); in bc() 294 return point_type( periodic_bc( x[0] , p.x_max ) , periodic_bc( x[1] , p.y_max ) ); in periodic_bc() 372 … std::cout << "p [0:" << sys.m_p.x_max << "][0:" << sys.m_p.y_max << "] '-' pt 7 ps 0.5" << "\n"; in main()
|
/third_party/mindspore/mindspore/ops/composite/ |
D | clip_ops.py | 78 x_max = max_op(x_min, clip_value_min) 79 _check_shape(F.shape(x), F.shape(x_max), 'clip_by_value') 80 return x_max
|
/third_party/mesa3d/src/intel/vulkan/ |
D | gfx7_cmd_buffer.c | 85 uint32_t x_max = s->offset.x + s->extent.width - 1; in gfx7_cmd_buffer_emit_scissor() local 96 x_max = clamp_int64((uint64_t) x_max, 0, in gfx7_cmd_buffer_emit_scissor() 103 x_max = clamp_int64((uint64_t) x_max, 0, fb->width - 1); in gfx7_cmd_buffer_emit_scissor() 110 .ScissorRectangleXMax = x_max in gfx7_cmd_buffer_emit_scissor()
|
/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 312 x_max = FT_MAX( dstSlot->bitmap_left + (FT_Int)dstSlot->bitmap.width, in tt_face_colr_blend_layer() 320 x_max != dstSlot->bitmap_left + (FT_Int)dstSlot->bitmap.width || in tt_face_colr_blend_layer() 326 FT_UInt width = (FT_UInt)( x_max - x_min ); in tt_face_colr_blend_layer()
|
D | sfwoff2.c | 675 FT_Int x_max = 0; in compute_bbox() local 688 x_max = points[0].x; in compute_bbox() 700 x_max = FT_MAX( x, x_max ); in compute_bbox() 710 WRITE_SHORT( pointer, x_max ); in compute_bbox()
|
/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 313 x_max = FT_MAX( dstSlot->bitmap_left + (FT_Int)dstSlot->bitmap.width, in tt_face_colr_blend_layer() 321 x_max != dstSlot->bitmap_left + (FT_Int)dstSlot->bitmap.width || in tt_face_colr_blend_layer() 327 FT_UInt width = (FT_UInt)( x_max - x_min ); in tt_face_colr_blend_layer()
|
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pynative/ |
D | ops_test.py | 46 x_max = x + stride[2] * out_w 47 col[:, :, y, x, :, :] = img[:, :, y:y_max:stride[2], x:x_max:stride[2]]
|
/third_party/flutter/skia/third_party/externals/sdl/src/events/ |
D | SDL_mouse.c | 251 int x_max = 0, y_max = 0; local 254 SDL_GetWindowSize(mouse->focus, &x_max, &y_max); 255 --x_max; 258 if (mouse->x > x_max) { 259 mouse->x = x_max;
|
/third_party/boost/libs/math/example/ |
D | arcsine_example.cpp | 67 BOOST_ASSERT(as.x_max() == 5.); // as.x_max() returns 5. in main()
|
/third_party/boost/libs/math/test/ |
D | test_arcsine.cpp | 255 BOOST_CHECK_EQUAL(arcsine_01.x_max(), 1); in test_spots() 342 BOOST_CHECK_EQUAL(as_m11.x_max(), +1); in test_spots() 394 BOOST_CHECK_EQUAL(as_m2m1.x_max(), -1); in test_spots() 542 BOOST_CHECK_EQUAL(as.x_max(), 1); in BOOST_AUTO_TEST_CASE()
|
/third_party/mindspore/tests/vm_impl/ |
D | vm_me.py | 200 x_max = x + stride_h * out_w 201 img[:, :, y:y_max:stride_h, x:x_max:stride_h] += col[:, :, y, x, :, :] 397 x_max = x + stride_h * out_w 398 col[:, :, y, x, :, :] = img[:, :, y:y_max:stride_h, x:x_max:stride_h]
|
/third_party/gstreamer/gstplugins_bad/gst/librfb/ |
D | rfbdecoder.c | 1014 gint32 x, x_count G_GNUC_UNUSED, x_end, x_max, x_max_16; in rfb_decoder_hextile_encoding() local 1024 x_max = start_x + rect_w; in rfb_decoder_hextile_encoding() 1026 x_max_16 = x_max - 16; in rfb_decoder_hextile_encoding() 1030 for (x = start_x; x < x_max; x += 16) { in rfb_decoder_hextile_encoding()
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | ttcolr.c | 1155 FT_Int x_min, x_max, y_min, y_max; in tt_face_colr_blend_layer() local 1159 x_max = FT_MAX( dstSlot->bitmap_left + (FT_Int)dstSlot->bitmap.width, in tt_face_colr_blend_layer() 1167 x_max != dstSlot->bitmap_left + (FT_Int)dstSlot->bitmap.width || in tt_face_colr_blend_layer() 1173 FT_UInt width = (FT_UInt)( x_max - x_min ); in tt_face_colr_blend_layer()
|
D | sfwoff2.c | 664 FT_Int x_max = 0; in compute_bbox() local 677 x_max = points[0].x; in compute_bbox() 689 x_max = FT_MAX( x, x_max ); in compute_bbox() 699 WRITE_SHORT( pointer, x_max ); in compute_bbox()
|