/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | fixed_point.c | 147 int32_t Rescale(int x, int integer_bits_src, int integer_bits_dst) { in Rescale() function 161 x = x + Rescale(SaturatingRoundingDoublingHighMul(x, one_minus_half_sum_times_x), 2 + 2, 2); in reciprocal_on_interval_between_0_1() 163 return Rescale(x, 2 - 1, 0); in reciprocal_on_interval_between_0_1() 202 int result = exp_on_interval_values(Rescale(a_mod_quarter_minus_one_quarter, integer_bits, 0)); in exp_on_negative_values() 241 …int32_t tmp3 = Rescale(SaturatingRoundingDoublingHighMul(tmp, SaturatingRoundingDoublingHighMul(tm… in GetSqrtQuantMultiplierExp() 242 tmp = Rescale(SaturatingRoundingDoublingHighMul(fp_f3_half_three, tmp) - in GetSqrtQuantMultiplierExp()
|
D | fixed_point.h | 54 int32_t Rescale(int x, int kIntegerBitsSrc, int kIntegerBitsDst);
|
D | softmax_int8.c | 53 exp_sum = exp_sum + Rescale(exp_val, 0, 12); in SoftmaxInt8()
|
/third_party/mindspore/tests/st/probability/bnn_layers/ |
D | dataset.py | 42 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml) 43 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/tests/st/probability/transforms/ |
D | dataset.py | 42 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml) 43 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/tests/st/summary/ |
D | dataset.py | 37 rescale_nml_op = CV.Rescale(1 / 0.3081, -1 * 0.1307 / 0.3081) 38 rescale_op = CV.Rescale(1.0 / 255.0, shift=0.0)
|
/third_party/mindspore/tests/st/quantization/lenet_quant/ |
D | dataset.py | 42 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml) 43 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_rescale_op.py | 64 rescale_op = vision.Rescale(1.0 / 255.0, -1.0) 94 rescale_op = vision.Rescale(1.0 / 255.0, -1.0)
|
D | test_eager_vision.py | 47 img = C.Rescale(rescale=rescale_factor, shift=0)(img)
|
/third_party/boost/libs/geometry/test/policies/ |
D | rescale_policy.cpp | 94 template <bool Rescale, typename P> 101 Rescale, in test_rescale()
|
/third_party/mindspore/tests/st/probability/toolbox/ |
D | test_uncertainty.py | 95 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml) 96 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | rescale_op.cc | 25 return Rescale(input, output, rescale_, shift_); in Compute()
|
/third_party/mindspore/tests/st/ps/full_ps/ |
D | test_full_ps_lenet.py | 104 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml) 105 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/tests/st/quantization/mobilenetv2_quant/ |
D | dataset.py | 49 rescale_op = C.Rescale(rescale, shift)
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | io_dec.c | 240 static int Rescale(const uint8_t* src, int src_stride, in Rescale() function 265 num_lines_out = Rescale(io->y, io->y_stride, mb_h, scaler); in EmitRescaledYUV() 266 Rescale(io->u, io->uv_stride, uv_mb_h, p->scaler_u); in EmitRescaledYUV() 267 Rescale(io->v, io->uv_stride, uv_mb_h, p->scaler_v); in EmitRescaledYUV() 277 const int num_lines_out = Rescale(io->a, io->width, io->mb_h, p->scaler_a); in EmitRescaledAlphaYUV()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | io_dec.c | 245 static int Rescale(const uint8_t* src, int src_stride, in Rescale() function 270 num_lines_out = Rescale(io->y, io->y_stride, mb_h, scaler); in EmitRescaledYUV() 271 Rescale(io->u, io->uv_stride, uv_mb_h, p->scaler_u); in EmitRescaledYUV() 272 Rescale(io->v, io->uv_stride, uv_mb_h, p->scaler_v); in EmitRescaledYUV() 282 const int num_lines_out = Rescale(io->a, io->width, io->mb_h, p->scaler_a); in EmitRescaledAlphaYUV()
|
/third_party/mindspore/tests/st/ps/part_ps/ |
D | test_ps_embedding_heterogeneous_conv2d_adam.py | 98 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml) 99 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/tests/st/profiler/ |
D | test_profiler.py | 101 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml) 102 rescale_op = CV.Rescale(rescale, shift=0.0)
|
/third_party/mindspore/tests/st/probability/zhusuan/vae/ |
D | utils.py | 49 rescale_op = CV.Rescale(rescale, shift) # rescale images
|
/third_party/mindspore/tests/st/networks/ |
D | test_gradient_accumulation.py | 185 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml) 186 rescale_op = CV.Rescale(rescale, shift)
|
D | test_gpu_lenet.py | 169 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml) 170 rescale_op = CV.Rescale(rescale, shift)
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | vision.h | 830 class Rescale final : public TensorTransform { 835 Rescale(float rescale, float shift); 838 ~Rescale() = default;
|
/third_party/mindspore/tests/st/ops/ascend/ |
D | test_tdt_data_ms.py | 47 rescale_op = vision.Rescale(rescale, shift)
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
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() 83 std::shared_ptr<TensorTransform> rescale(new mindspore::dataset::vision::Rescale(1.0 / 255, 1.0)); in TEST_F()
|
/third_party/mindspore/tests/st/probability/dpn/ |
D | test_gpu_svi_vae.py | 76 rescale_op = CV.Rescale(rescale, shift)
|