/third_party/python/Lib/test/decimaltestdata/ |
D | rescale.decTest | 2 -- rescale.decTest -- decimal rescale operation -- 34 resx001 rescale 0 0 -> 0 35 resx002 rescale 1 0 -> 1 36 resx003 rescale 0.1 +2 -> 0E+2 Inexact Rounded 37 resx005 rescale 0.1 +1 -> 0E+1 Inexact Rounded 38 resx006 rescale 0.1 0 -> 0 Inexact Rounded 39 resx007 rescale 0.1 -1 -> 0.1 40 resx008 rescale 0.1 -2 -> 0.10 41 resx009 rescale 0.1 -3 -> 0.100 42 resx010 rescale 0.9 +2 -> 0E+2 Inexact Rounded [all …]
|
D | inexact.decTest | 197 -- rescale 199 inx401 rescale 0 0 -> 0 200 inx402 rescale 1 0 -> 1 201 inx403 rescale 0.1 +2 -> 0E+2 Inexact Rounded 202 inx404 rescale 0.1 +1 -> 0E+1 Inexact Rounded 203 inx405 rescale 0.1 0 -> 0 Inexact Rounded 204 inx406 rescale 0.1 -1 -> 0.1 205 inx407 rescale 0.1 -2 -> 0.10
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | rdppm.c | 67 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ member 141 register JSAMPLE *rescale = source->rescale; in get_text_gray_row() local 147 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_row() 169 register JSAMPLE *rescale = source->rescale; in get_text_gray_rgb_row() local 187 GRAY_RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)], in get_text_gray_rgb_row() 190 GRAY_RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)],) in get_text_gray_rgb_row() 204 register JSAMPLE *rescale = source->rescale; in get_text_gray_cmyk_row() local 217 JSAMPLE gray = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_cmyk_row() 243 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row() local 261 RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)], in get_text_rgb_row() [all …]
|
/third_party/libjpeg-turbo/ |
D | rdppm.c | 77 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ member 152 register JSAMPLE *rescale = source->rescale; in get_text_gray_row() local 158 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_row() 180 register JSAMPLE *rescale = source->rescale; in get_text_gray_rgb_row() local 198 GRAY_RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)], in get_text_gray_rgb_row() 201 GRAY_RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)],) in get_text_gray_rgb_row() 215 register JSAMPLE *rescale = source->rescale; in get_text_gray_cmyk_row() local 228 JSAMPLE gray = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_cmyk_row() 254 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row() local 272 RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)], in get_text_rgb_row() [all …]
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | rdppm.c | 77 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ member 152 register JSAMPLE *rescale = source->rescale; in get_text_gray_row() local 158 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_row() 180 register JSAMPLE *rescale = source->rescale; in get_text_gray_rgb_row() local 198 GRAY_RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)], in get_text_gray_rgb_row() 201 GRAY_RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)],) in get_text_gray_rgb_row() 215 register JSAMPLE *rescale = source->rescale; in get_text_gray_cmyk_row() local 228 JSAMPLE gray = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_cmyk_row() 254 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row() local 272 RGB_READ_LOOP(rescale[read_pbm_integer(cinfo, infile, maxval)], in get_text_rgb_row() [all …]
|
/third_party/boost/boost/math/special_functions/detail/ |
D | hypergeometric_pFq_checked_series.hpp | 428 int rescale = local_scaling - loop_scale; in hypergeometric_pFq_checked_series_impl() local 429 if (rescale < tools::log_min_value<Real>()) in hypergeometric_pFq_checked_series_impl() 432 d = fabs(term / (result * exp(Real(rescale)))); in hypergeometric_pFq_checked_series_impl() 436 int rescale = loop_scale - local_scaling; in hypergeometric_pFq_checked_series_impl() local 437 if (rescale < tools::log_min_value<Real>()) in hypergeometric_pFq_checked_series_impl() 440 d = fabs(term * exp(Real(rescale)) / result); in hypergeometric_pFq_checked_series_impl() 460 int rescale = local_scaling - loop_scale; in hypergeometric_pFq_checked_series_impl() local 462 log_scale -= rescale; in hypergeometric_pFq_checked_series_impl() 463 Real ex = exp(Real(rescale)); in hypergeometric_pFq_checked_series_impl() 474 int rescale = loop_scale - local_scaling; in hypergeometric_pFq_checked_series_impl() local [all …]
|
D | hypergeometric_1F1_bessel.hpp | 187 T rescale = pow(fabs(bessel_cache[j] / bessel_cache[j + 1]), j + 1) * 2; in refill_cache() local 188 if (!((boost::math::isfinite)(rescale))) in refill_cache() 189 rescale = tools::max_value<T>(); in refill_cache() 191 bessel_cache[k] /= rescale; in refill_cache() 262 T rescale = pow(fabs(bessel_cache[j] / bessel_cache[j + 1]), j + 1) * 2; in refill_cache() local 263 if (!((boost::math::isfinite)(rescale))) in refill_cache() 264 rescale = tools::max_value<T>(); in refill_cache() 266 bessel_cache[k] /= rescale; in refill_cache() 548 T rescale = pow(fabs(bessel_i_cache[j] / bessel_i_cache[j + 1]), j + 1) * 2; in refill_cache() local 549 if (rescale > tools::max_value<T>()) in refill_cache() [all …]
|
D | hypergeometric_1F1_large_abz.hpp | 221 int rescale = itrunc(log(fabs(h))); in hypergeometric_1F1_shift_on_a() local 222 T scale = exp(T(-rescale)); in hypergeometric_1F1_shift_on_a() 224 log_scaling += rescale; in hypergeometric_1F1_shift_on_a() 266 int rescale = itrunc(log(fabs(h))); in hypergeometric_1F1_shift_on_b() local 267 T scale = exp(T(-rescale)); in hypergeometric_1F1_shift_on_b() 269 log_scaling += rescale; in hypergeometric_1F1_shift_on_b()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | rescale_ir.cc | 31 RescaleOperation::RescaleOperation(float rescale, float shift) : rescale_(rescale), shift_(shift) {} in RescaleOperation() argument 62 float rescale = op_params["rescale"]; in from_json() local 64 *operation = std::make_shared<vision::RescaleOperation>(rescale, shift); in from_json()
|
/third_party/pixman/demos/ |
D | scale.c | 207 rescale (GtkWidget *may_be_null, app_t *app) in rescale() function 351 g_signal_connect (widget, "changed", G_CALLBACK (rescale), app); in set_up_combo_box() 388 g_signal_connect (app->scale_x_adjustment, "value_changed", G_CALLBACK (rescale), app); in app_new() 389 g_signal_connect (app->scale_y_adjustment, "value_changed", G_CALLBACK (rescale), app); in app_new() 390 g_signal_connect (app->rotate_adjustment, "value_changed", G_CALLBACK (rescale), app); in app_new() 391 g_signal_connect (app->subsample_adjustment, "value_changed", G_CALLBACK (rescale), app); in app_new() 415 "toggled", G_CALLBACK (rescale), app); in app_new() 417 rescale (NULL, app); in app_new()
|
D | dither.c | 93 rescale (GtkWidget *may_be_null, app_t *app) in rescale() function 186 g_signal_connect (widget, "changed", G_CALLBACK (rescale), app); in set_up_combo_box() 224 rescale (NULL, app); in app_new()
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | rescale_op_test.cc | 33 float rescale = 1.0 / 255; in TEST_F() local 36 std::unique_ptr<RescaleOp> op(new RescaleOp(rescale, shift)); in TEST_F()
|
D | c_api_vision_r_to_z_test.cc | 48 std::shared_ptr<TensorTransform> rescale(new mindspore::dataset::vision::Rescale(1.0, 0.0)); in TEST_F() local 55 ds = ds->Map({rescale, type_cast}, {"image"}); in TEST_F() 83 std::shared_ptr<TensorTransform> rescale(new mindspore::dataset::vision::Rescale(1.0 / 255, 1.0)); in TEST_F() local 86 ds = ds->Map({rescale}, {"image"}); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | rescale_op.h | 31 RescaleOp(float rescale, float shift) : rescale_(rescale), shift_(shift) {} in RescaleOp() argument
|
/third_party/mindspore/tests/st/quantization/mobilenetv2_quant/ |
D | dataset.py | 43 rescale = 1.0 / 255.0 49 rescale_op = C.Rescale(rescale, shift)
|
/third_party/mindspore/mindspore/lite/examples/train_lenet/src/ |
D | net_runner.cc | 187 Rescaler rescale(kScalePoint); in CalculateAccuracy() local 189 loop_->Eval(test_ds_.get(), std::vector<TrainLoopCallBack *>{&rescale}); in CalculateAccuracy() 222 Rescaler rescale(kScalePoint); in TrainLoop() local 226 …loop_->Train(epochs_, train_ds_.get(), std::vector<TrainLoopCallBack *>{&rescale, &lm, &cs, &am, &… in TrainLoop() 231 … std::vector<TrainLoopCallBack *>{&rescale, &lm, &cs, &am, &step_lr_sched, &measure}); in TrainLoop()
|
/third_party/flutter/engine/flutter/shell/platform/android/ |
D | android_external_texture_gl.cc | 79 const double rescale = 1.0f / (minScale + epsilon); in ScaleToFill() local 80 return SkSize::Make(scaleX * rescale, scaleY * rescale); in ScaleToFill()
|
/third_party/mindspore/tests/st/quantization/lenet_quant/ |
D | dataset.py | 35 rescale = 1.0 / 255.0 43 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/tests/st/probability/bnn_layers/ |
D | dataset.py | 35 rescale = 1.0 / 255.0 43 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/tests/st/probability/transforms/ |
D | dataset.py | 35 rescale = 1.0 / 255.0 43 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_attribute_workarounds.c | 61 bool rescale = i < (wa_flags & BRW_ATTRIB_WA_COMPONENT_MASK); in apply_attr_wa_instr() local 62 comps[i] = nir_channel(b, rescale ? scaled : val, i); in apply_attr_wa_instr()
|
/third_party/mindspore/tests/st/probability/zhusuan/vae/ |
D | utils.py | 42 rescale = 1.0 / 255.0 49 rescale_op = CV.Rescale(rescale, shift) # rescale images
|
/third_party/mindspore/tests/st/ops/ascend/ |
D | test_tdt_data_ms.py | 39 rescale = 1.0 / 255.0 47 rescale_op = vision.Rescale(rescale, shift)
|
/third_party/mindspore/tests/st/probability/dpn/ |
D | test_gpu_svi_vae.py | 71 rescale = 1.0 / 255.0 76 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/mindspore/lite/examples/unified_api/src/ |
D | net_runner.cc | 206 Rescaler rescale(kScalePoint); in TrainLoop() local 210 model_->Train(epochs_, train_ds_, {&rescale, &lm, &cs, &measure}); in TrainLoop() 214 model_->Train(epochs_, train_ds_, {&rescale, &lm, &cs, &am, &step_lr_sched, &measure}); in TrainLoop()
|