/external/tensorflow/tensorflow/core/kernels/ |
D | quantize_op.cc | 136 const float scale_factor = in Compute() local 158 scale_factor - in Compute() 167 scale_factor + in Compute() 193 const float scale_factor = in Compute() local 195 min_range = min_output_value / scale_factor; in Compute() 196 max_range = max_output_value / scale_factor; in Compute() 201 scale_factor) in Compute() 208 scale_factor) in Compute()
|
D | dequantize_op.cc | 74 const float scale_factor = in Compute() local 85 ((static_cast<int>(in_ptr[i]) + half_range_) * scale_factor) + in Compute() 99 const float scale_factor = in Compute() local 108 out_ptr[i] = static_cast<int>(in_ptr[i]) * scale_factor; in Compute()
|
D | dequantize_op_test.cc | 49 const float scale_factor = in ComputeDequantizeMinCombinedUsingEigen() local 56 scale_factor) + in ComputeDequantizeMinCombinedUsingEigen()
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | object_detector.h | 58 const float scale_factor, in FillWithSquares() argument 63 SCHECK(scale_factor < 1.0f, "Scale factor too large at %.2f!", scale_factor); in FillWithSquares() 70 descriptor_area.Scale(scale_factor); in FillWithSquares() 75 scale_factor); in FillWithSquares()
|
D | frame_pair.cc | 71 const float scale_factor = GetWeightedMedianScale(weights, deltas); in AdjustBox() local 73 if (scale_factor > 0.0f) { in AdjustBox() 74 *scale_x = scale_factor; in AdjustBox() 75 *scale_y = scale_factor; in AdjustBox()
|
D | object_tracker_jni.cc | 118 JNIEnv* env, jobject thiz, jfloat scale_factor); 376 JNIEnv* env, jobject thiz, jfloat scale_factor) { in OBJECT_TRACKER_METHOD() 383 reinterpret_cast<uint16_t*>(keypoint_arr), scale_factor); in OBJECT_TRACKER_METHOD()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_QuantizeAndDequantizeV2.pbtxt | 86 This op determines the maximum scale_factor that would map the initial 96 5.0]: it would use a scale_factor of -128 / -10.0 = 12.8 In this case, it 99 10.0]: it would use a scale_factor of 127 / 10.0 = 12.7 In this case, it 104 After determining the scale_factor and updating the input range, it applies the 107 output = round(clamp(value, input_min, input_max) * scale_factor) / scale_factor.
|
/external/ImageMagick/MagickCore/ |
D | geometry.c | 1463 scale_factor; in ParseMetaGeometry() local 1469 scale_factor=1.0; in ParseMetaGeometry() 1473 scale_factor=(double) *width/(double) former_width; in ParseMetaGeometry() 1476 if (scale_factor > ((double) *height/(double) former_height)) in ParseMetaGeometry() 1477 scale_factor=(double) *height/(double) former_height; in ParseMetaGeometry() 1480 if (scale_factor < ((double) *height/(double) former_height)) in ParseMetaGeometry() 1481 scale_factor=(double) *height/(double) former_height; in ParseMetaGeometry() 1486 scale_factor=(double) *width/(double) former_width; in ParseMetaGeometry() 1488 (scale_factor < ((double) *width/(double) former_height))) in ParseMetaGeometry() 1489 scale_factor=(double) *width/(double) former_height; in ParseMetaGeometry() [all …]
|
D | matrix.c | 881 scale_factor, in MatrixToImage() local 922 scale_factor=0; in MatrixToImage() 926 scale_factor=(double) QuantumRange/min_value; in MatrixToImage() 930 scale_factor=(double) QuantumRange/(max_value-min_value); in MatrixToImage() 967 value=scale_factor*(value-min_value); in MatrixToImage()
|
D | display.c | 2899 scale_factor; in XChopImage() local 3224 scale_factor=(double) width/windows->image.ximage->width; in XChopImage() 3226 chop_info.x=(ssize_t) (scale_factor*chop_info.x+0.5); in XChopImage() 3227 chop_info.width=(unsigned int) (scale_factor*chop_info.width+0.5); in XChopImage() 3228 scale_factor=(double) height/windows->image.ximage->height; in XChopImage() 3230 chop_info.y=(ssize_t) (scale_factor*chop_info.y+0.5); in XChopImage() 3231 chop_info.height=(unsigned int) (scale_factor*chop_info.height+0.5); in XChopImage() 3955 scale_factor; in XCompositeImage() local 4272 scale_factor=(double) width/windows->image.ximage->width; in XCompositeImage() 4274 composite_info.x=(ssize_t) (scale_factor*composite_info.x+0.5); in XCompositeImage() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/CMSIS/ |
D | create_constants.py | 25 def to_cc(x, varname, directory='', scale_factor=1): argument 27 x = (x / np.max(np.abs(x))) * 32768 * scale_factor 74 to_cc(sin1k, 'sin_1k', directory='./', scale_factor=0.1)
|
/external/fonttools/Lib/fontTools/svgLib/path/ |
D | arc.py | 86 scale_factor = sqrt(scale_factor_squared) 88 scale_factor = -scale_factor 90 delta *= scale_factor
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | energy.c | 22 int* scale_factor) in WebRtcSpl_Energy() argument 36 *scale_factor = scaling; in WebRtcSpl_Energy()
|
/external/libjpeg-turbo/ |
D | jcparam.c | 29 const unsigned int *basic_table, int scale_factor, in jpeg_add_quant_table() argument 54 temp = ((long)basic_table[i] * scale_factor + 50L) / 100L; in jpeg_add_quant_table() 113 jpeg_set_linear_quality(j_compress_ptr cinfo, int scale_factor, in jpeg_set_linear_quality() argument 123 scale_factor, force_baseline); in jpeg_set_linear_quality() 125 scale_factor, force_baseline); in jpeg_set_linear_quality()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | quantize_test.cc | 106 const bfloat16 scale_factor = in GenerateLargeSizeMinCombinedOutput() local 115 static_cast<bfloat16>(input(h, w) + half_range) * scale_factor + in GenerateLargeSizeMinCombinedOutput() 136 const bfloat16 scale_factor = in GenerateMinCombinedOutput() local 144 static_cast<bfloat16>(i + half_range) * scale_factor + range.min; in GenerateMinCombinedOutput()
|
D | quantize.h | 140 const tensorflow::bfloat16 scale_factor = 151 sum * xla::ConstantR0<tensorflow::bfloat16>(builder, scale_factor) +
|
/external/pdfium/core/fxcrt/ |
D | fx_string.cpp | 81 float FractionalScale(size_t scale_factor, int value) { in FractionalScale() argument 82 return fraction_scales[scale_factor] * value; in FractionalScale()
|
/external/strace/ |
D | strace-graph | 44 my $scale_factor = 3.5; 313 $elapsed /= $scale_factor;
|
/external/libpcap/ |
D | sf-pcapng.c | 202 uint64_t scale_factor; /* time stamp scale factor for power-of-10 tsresol */ member 713 ps->ifaces[ps->ifcount - 1].scale_factor = tsresol/ps->user_tsresol; in add_interface() 727 ps->ifaces[ps->ifcount - 1].scale_factor = ps->user_tsresol/tsresol; in add_interface() 1372 frac *= ps->ifaces[interface_id].scale_factor; in pcap_ng_next_packet() 1415 frac /= ps->ifaces[interface_id].scale_factor; in pcap_ng_next_packet()
|
/external/libxaac/decoder/ |
D | ixheaacd_block.c | 1234 VOID ixheaacd_process_single_scf(WORD32 scale_factor, WORD32 *x_invquant, in ixheaacd_process_single_scf() argument 1248 if (scale_factor < 24) { in ixheaacd_process_single_scf() 1256 q_factor = 34 - (scale_factor >> 2); in ixheaacd_process_single_scf() 1258 q_factor = 37 - (scale_factor >> 2); in ixheaacd_process_single_scf() 1260 scale_short = ptr_scale_table[(scale_factor & 0x0003)]; in ixheaacd_process_single_scf() 1325 WORD16 scale_factor; in ixheaacd_scale_factor_process_dec() local 1328 scale_factor = *scale_fact++; in ixheaacd_scale_factor_process_dec() 1329 ixheaacd_process_single_scf(scale_factor, x_invquant, *width, in ixheaacd_scale_factor_process_dec()
|
D | ixheaacd_lpp_tran.c | 849 ia_sbr_scale_fact_struct *scale_factor, in ixheaacd_hf_generator() argument 902 ixheaacd_min32(scale_factor->ov_lb_scale, scale_factor->lb_scale); in ixheaacd_hf_generator() 1130 scale_factor->hb_scale = (WORD16)(common_scale - LPC_SCALE_FACTOR); in ixheaacd_hf_generator()
|
D | ixheaacd_qmf_dec.c | 689 WORD32 scale_factor; in ixheaacd_cplx_synt_qmffilt() local 758 code_scale_factor = scale_factor = sbr_scale_factor->ps_scale; in ixheaacd_cplx_synt_qmffilt() 761 scale_factor = sbr_scale_factor->hb_scale; in ixheaacd_cplx_synt_qmffilt() 765 high_band_scale_factor = (st_syn_scale - scale_factor); in ixheaacd_cplx_synt_qmffilt()
|
/external/webrtc/webrtc/p2p/base/ |
D | pseudotcp.cc | 1245 void PseudoTcp::applyWindowScaleOption(uint8_t scale_factor) { in applyWindowScaleOption() argument 1246 m_swnd_scale = scale_factor; in applyWindowScaleOption() 1255 uint8_t scale_factor = 0; in resizeReceiveBuffer() local 1260 ++scale_factor; in resizeReceiveBuffer() 1265 new_size <<= scale_factor; in resizeReceiveBuffer() 1275 m_rwnd_scale = scale_factor; in resizeReceiveBuffer()
|
D | pseudotcp.h | 182 void applyWindowScaleOption(uint8_t scale_factor);
|
/external/ImageMagick/coders/ |
D | viff.c | 212 scale_factor, in ReadVIFFImage() local 557 scale_factor=1.0; in ReadVIFFImage() 594 scale_factor=0; in ReadVIFFImage() 598 scale_factor=(double) QuantumRange/min_value; in ReadVIFFImage() 602 scale_factor=(double) QuantumRange/(max_value-min_value); in ReadVIFFImage() 620 value=(value-min_value)*scale_factor; in ReadVIFFImage()
|