Home
last modified time | relevance | path

Searched refs:Rescale (Results 1 – 25 of 55) sorted by relevance

123

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dfixed_point.c147 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()
Dfixed_point.h54 int32_t Rescale(int x, int kIntegerBitsSrc, int kIntegerBitsDst);
Dsoftmax_int8.c53 exp_sum = exp_sum + Rescale(exp_val, 0, 12); in SoftmaxInt8()
/third_party/mindspore/tests/st/probability/bnn_layers/
Ddataset.py42 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml)
43 rescale_op = CV.Rescale(rescale, shift)
/third_party/mindspore/tests/st/probability/transforms/
Ddataset.py42 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml)
43 rescale_op = CV.Rescale(rescale, shift)
/third_party/mindspore/tests/st/summary/
Ddataset.py37 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/
Ddataset.py42 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml)
43 rescale_op = CV.Rescale(rescale, shift)
/third_party/mindspore/tests/ut/python/dataset/
Dtest_rescale_op.py64 rescale_op = vision.Rescale(1.0 / 255.0, -1.0)
94 rescale_op = vision.Rescale(1.0 / 255.0, -1.0)
Dtest_eager_vision.py47 img = C.Rescale(rescale=rescale_factor, shift=0)(img)
/third_party/boost/libs/geometry/test/policies/
Drescale_policy.cpp94 template <bool Rescale, typename P>
101 Rescale, in test_rescale()
/third_party/mindspore/tests/st/probability/toolbox/
Dtest_uncertainty.py95 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/
Drescale_op.cc25 return Rescale(input, output, rescale_, shift_); in Compute()
/third_party/mindspore/tests/st/ps/full_ps/
Dtest_full_ps_lenet.py104 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml)
105 rescale_op = CV.Rescale(rescale, shift)
/third_party/mindspore/tests/st/quantization/mobilenetv2_quant/
Ddataset.py49 rescale_op = C.Rescale(rescale, shift)
/third_party/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c240 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/
Dio_dec.c245 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/
Dtest_ps_embedding_heterogeneous_conv2d_adam.py98 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml)
99 rescale_op = CV.Rescale(rescale, shift)
/third_party/mindspore/tests/st/profiler/
Dtest_profiler.py101 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/
Dutils.py49 rescale_op = CV.Rescale(rescale, shift) # rescale images
/third_party/mindspore/tests/st/networks/
Dtest_gradient_accumulation.py185 rescale_nml_op = CV.Rescale(rescale_nml, shift_nml)
186 rescale_op = CV.Rescale(rescale, shift)
Dtest_gpu_lenet.py169 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/
Dvision.h830 class Rescale final : public TensorTransform {
835 Rescale(float rescale, float shift);
838 ~Rescale() = default;
/third_party/mindspore/tests/st/ops/ascend/
Dtest_tdt_data_ms.py47 rescale_op = vision.Rescale(rescale, shift)
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_vision_r_to_z_test.cc48 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/
Dtest_gpu_svi_vae.py76 rescale_op = CV.Rescale(rescale, shift)

123