Home
last modified time | relevance | path

Searched refs:gains (Results 1 – 25 of 73) sorted by relevance

123

/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/
Dsplit_handler_ops_test.py48 partitions, gains, splits = (
64 partitions, gains, splits = sess.run([partitions, gains, splits])
89 expected_left_gain + expected_right_gain - expected_bias_gain, gains[0],
106 self.assertAllClose(0.0, gains[1], 0.00001)
122 partitions, gains, splits = (
138 partitions, gains, splits = sess.run([partitions, gains, splits])
162 partitions, gains, splits = (
178 partitions, gains, splits = sess.run([partitions, gains, splits])
181 self.assertEqual(0, len(gains))
203 partitions, gains, splits = (
[all …]
Dtraining_ops_test.py347 gains=[handler1_gains, handler2_gains, handler3_gains],
461 gains=[handler1_gains, handler2_gains, handler3_gains],
613 gains=[handler1_gains, handler2_gains, handler3_gains],
799 gains=[handler1_gains, handler2_gains, handler3_gains],
937 gains=[handler1_gains, handler2_gains],
1009 gains=[handler1_gains, handler2_gains, handler3_gains],
1112 gains=[handler1_gains, handler2_gains],
1195 gains=[handler1_gains],
1263 gains=[handler1_gains, handler2_gains],
1344 gains=[handler1_gains],
[all …]
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c301 int32_t gains[11]; in WebRtcAgc_ProcessDigital() local
416 gains[0] = stt->gain; in WebRtcAgc_ProcessDigital()
457 gains[k + 1] = stt->gainTable[zeros] + (tmp32 >> 12); in WebRtcAgc_ProcessDigital()
507 if ((gains[k + 1] - stt->gainTable[0]) > 8388608) in WebRtcAgc_ProcessDigital()
510 tmp32 = (gains[k + 1] - stt->gainTable[0]) >> 8; in WebRtcAgc_ProcessDigital()
514 tmp32 = (gains[k+1] - stt->gainTable[0]) * (178 + gain_adj); in WebRtcAgc_ProcessDigital()
517 gains[k + 1] = stt->gainTable[0] + tmp32; in WebRtcAgc_ProcessDigital()
526 if (gains[k + 1] > 47453132) in WebRtcAgc_ProcessDigital()
528 zeros = 16 - WebRtcSpl_NormW32(gains[k + 1]); in WebRtcAgc_ProcessDigital()
530 gain32 = (gains[k + 1] >> zeros) + 1; in WebRtcAgc_ProcessDigital()
[all …]
/external/libopus/silk/float/
Dresidual_energy_FLP.c95 …const silk_float gains[], /* I Quantization gains … in silk_residual_energy_FLP() argument
109 …nrgs[ 0 ] = ( silk_float )( gains[ 0 ] * gains[ 0 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, su… in silk_residual_energy_FLP()
110 …nrgs[ 1 ] = ( silk_float )( gains[ 1 ] * gains[ 1 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, su… in silk_residual_energy_FLP()
114 …nrgs[ 2 ] = ( silk_float )( gains[ 2 ] * gains[ 2 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, su… in silk_residual_energy_FLP()
115 …nrgs[ 3 ] = ( silk_float )( gains[ 3 ] * gains[ 3 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, su… in silk_residual_energy_FLP()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/batch/
Dcategorical_split_handler_test.py104 are_splits_ready, partitions, gains, splits = (
106 are_splits_ready, partitions, gains, splits = (sess.run(
107 [are_splits_ready, partitions, gains, splits]))
138 expected_left_gain + expected_right_gain - expected_bias_gain, gains[0],
162 self.assertAllClose(0.0, gains[1], 0.00001)
228 are_splits_ready, partitions, gains, splits = (
230 are_splits_ready, partitions, gains, splits = (
231 sess.run([are_splits_ready, partitions, gains, splits]))
281 gains[0], 0.00001)
338 are_splits_ready, partitions, gains, splits = (
[all …]
Dordinal_split_handler_test.py111 are_splits_ready2, partitions, gains, splits = (
113 are_splits_ready, are_splits_ready2, partitions, gains, splits = (
115 are_splits_ready, are_splits_ready2, partitions, gains, splits
147 expected_left_gain + expected_right_gain - expected_bias_gain, gains[0],
175 self.assertAllClose(0.0, gains[1], 0.00001)
249 are_splits_ready2, partitions, gains, splits = (
252 are_splits_ready2, partitions, gains, splits = (
254 [are_splits_ready2, partitions, gains, splits],
315 self.assertAllClose(layer_gain, gains[0], 0.00001)
391 are_splits_ready2, partitions, gains, splits = (
[all …]
Dordinal_split_handler.py270 are_splits_ready, partition_ids, gains, split_infos = (
278 return are_splits_ready, partition_ids, gains, split_infos
322 partition_ids, gains, split_infos = (
338 return are_splits_ready, partition_ids, gains, split_infos
450 are_splits_ready, partition_ids, gains, split_infos = (
457 return are_splits_ready, partition_ids, gains, split_infos
499 partition_ids, gains, split_infos = (
515 return are_splits_ready, partition_ids, gains, split_infos
Dcategorical_split_handler.py198 partition_ids, gains, split_infos = (
217 return (are_splits_ready, partition_ids, gains, split_infos)
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_filter.c261 double* lags, double* gains, PitchFilterOperation mode, in FilterFrame() argument
294 gains[n] *= -kEnhancer; in FilterFrame()
305 old_gain = gains[0]; in FilterFrame()
319 gain_delta = (gains[m] - old_gain) / PITCH_GRAN_PER_SUBFRAME; in FilterFrame()
323 old_gain = gains[m]; in FilterFrame()
360 double* gains) { in WebRtcIsac_PitchfilterPre() argument
361 FilterFrame(in_data, pf_state, lags, gains, kPitchFilterPre, out_data, NULL); in WebRtcIsac_PitchfilterPre()
366 double* gains) { in WebRtcIsac_PitchfilterPre_la() argument
367 FilterFrame(in_data, pf_state, lags, gains, kPitchFilterPreLa, out_data, in WebRtcIsac_PitchfilterPre_la()
374 double* lags, double* gains) { in WebRtcIsac_PitchfilterPre_gains() argument
[all …]
Dpitch_estimator.h29 double *gains);
41 double *gains);
47 double *gains);
53 double *gains);
60 double *gains);
Dpitch_estimator.c472 double *gains) in WebRtcIsac_PitchAnalysis() argument
524 gains[k] = PITCH_MAX_GAIN_06; in WebRtcIsac_PitchAnalysis()
529 WebRtcIsac_PitchfilterPre_gains(Whitened, out_G, out_dG, &(State->PFstr_wght), lags, gains); in WebRtcIsac_PitchAnalysis()
551 tmp += kWeight[k+1][m+1] * gains[m]; in WebRtcIsac_PitchAnalysis()
562 tmp = 1.0 / (1 - gains[k]); in WebRtcIsac_PitchAnalysis()
566 tmp = 1.0 / (1 - gains[3]); in WebRtcIsac_PitchAnalysis()
602 gains[k] += dG[k]; in WebRtcIsac_PitchAnalysis()
603 if (gains[k] > PITCH_MAX_GAIN) in WebRtcIsac_PitchAnalysis()
604 gains[k] = PITCH_MAX_GAIN; in WebRtcIsac_PitchAnalysis()
605 else if (gains[k] < 0.0) in WebRtcIsac_PitchAnalysis()
[all …]
/external/webrtc/webrtc/modules/audio_processing/vad/
Dpitch_internal.cc29 double* gains, in GetSubframesPitchParameters() argument
39 gains[n] = log(gains[n] + 1e-12); in GetSubframesPitchParameters()
42 PitchInterpolation(*log_old_gain, gains, log_pitch_gain); in GetSubframesPitchParameters()
43 *log_old_gain = gains[num_in_frames - 1]; in GetSubframesPitchParameters()
Dpitch_internal_unittest.cc23 double gains[] = {0.6, 0.2, 0.5, 0.4}; in TEST() local
31 double expected_log_old_gain = log(gains[kNumInputParameters - 1]); in TEST()
40 GetSubframesPitchParameters(kSamplingRateHz, gains, lags, kNumInputParameters, in TEST()
Dvad_audio_proc.cc237 double gains[kNumPitchSubframes]; in PitchAnalysis() local
255 pitch_analysis_handle_.get(), lags, gains); in PitchAnalysis()
260 kSampleRateHz / 2, gains, lags, kNumPitchSubframes, kNum10msSubframes, in PitchAnalysis()
Dpitch_internal.h17 double* gains,
/external/libopus/celt/mips/
Dcelt_mipsr1.h68 static const opus_val16 gains[3][3] = { in comb_filter() local
81 g00 = MULT16_16_P15(g0, gains[tapset0][0]); in comb_filter()
82 g01 = MULT16_16_P15(g0, gains[tapset0][1]); in comb_filter()
83 g02 = MULT16_16_P15(g0, gains[tapset0][2]); in comb_filter()
84 g10 = MULT16_16_P15(g1, gains[tapset1][0]); in comb_filter()
85 g11 = MULT16_16_P15(g1, gains[tapset1][1]); in comb_filter()
86 g12 = MULT16_16_P15(g1, gains[tapset1][2]); in comb_filter()
/external/libopus/celt/
Dcelt.c198 static const opus_val16 gains[3][3] = { in comb_filter() local
214 g00 = MULT16_16_P15(g0, gains[tapset0][0]); in comb_filter()
215 g01 = MULT16_16_P15(g0, gains[tapset0][1]); in comb_filter()
216 g02 = MULT16_16_P15(g0, gains[tapset0][2]); in comb_filter()
217 g10 = MULT16_16_P15(g1, gains[tapset1][0]); in comb_filter()
218 g11 = MULT16_16_P15(g1, gains[tapset1][1]); in comb_filter()
219 g12 = MULT16_16_P15(g1, gains[tapset1][2]); in comb_filter()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dcb_search.c56 int16_t gains[CB_NSTAGES+1]; in WebRtcIlbcfix_CbSearch() local
184 gains[0] = 16384; in WebRtcIlbcfix_CbSearch()
290 … (int16_t)WEBRTC_SPL_ABS_W16(gains[stage]), stage, &gain_index[stage]); in WebRtcIlbcfix_CbSearch()
346 gains[stage+1] = bestGain; in WebRtcIlbcfix_CbSearch()
369 tmp = (int16_t)((gains[1] * gains[1]) >> 14); in WebRtcIlbcfix_CbSearch()
373 tmpW32 = ((int32_t)(gains[1]-1))<<1; in WebRtcIlbcfix_CbSearch()
/external/libopus/silk/fixed/
Dresidual_energy_FIX.c42 …const opus_int32 gains[ MAX_NB_SUBFR ], /* I Quantization gains… in silk_residual_energy_FIX()
86 lz2 = silk_CLZ32( gains[ i ] ) - 1; in silk_residual_energy_FIX()
88 tmp32 = silk_LSHIFT32( gains[ i ], lz2 ); in silk_residual_energy_FIX()
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dsplit_handler_ops.cc210 tensorflow::TTypes<float>::Vec gains = gains_t->vec<float>(); in Compute() local
228 hessians_t, &output_partition_ids, &gains, &output_splits); in Compute()
235 hessians_t, &output_partition_ids, &gains, &output_splits); in Compute()
250 tensorflow::TTypes<float>::Vec* gains, in ComputeNormalDecisionTree() argument
297 (*gains)(root_idx) = in ComputeNormalDecisionTree()
310 tensorflow::TTypes<float>::Vec* gains, in ComputeObliviousDecisionTree() argument
401 (*gains)(0) = best_gain; in ComputeObliviousDecisionTree()
526 tensorflow::TTypes<float>::Vec gains = gains_t->vec<float>(); in Compute() local
678 gains(root_idx) = in Compute()
777 tensorflow::TTypes<float>::Vec gains = gains_t->vec<float>(); in Compute() local
[all …]
Dtraining_ops.cc449 const auto& gains = gains_list[handler_id].vec<float>(); in FindBestSplitsPerPartitionNormal() local
451 OP_REQUIRES(context, partition_ids.size() == gains.size(), in FindBestSplitsPerPartitionNormal()
454 partition_ids.size(), " != ", gains.size())); in FindBestSplitsPerPartitionNormal()
463 const auto& gain = gains(candidate_idx); in FindBestSplitsPerPartitionNormal()
483 const auto& gains = gains_list[handler_id].vec<float>(); in FindBestSplitOblivious() local
485 OP_REQUIRES(context, gains.size() == 1, in FindBestSplitOblivious()
488 gains.size(), " != ", 1)); in FindBestSplitOblivious()
494 const auto& gain = gains(0); in FindBestSplitOblivious()
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dtraining_ops_test.py74 gains=[feature1_gains, feature2_gains, feature3_gains],
265 gains=[feature1_gains, feature2_gains, feature3_gains],
445 gains=[feature1_gains],
600 gains=[feature1_gains, feature2_gains, feature3_gains],
740 gains=[],
869 gains=[feature1_gains, feature2_gains, feature3_gains],
963 gains=[feature1_gains, feature2_gains],
1039 gains=[feature1_gains],
1147 gains=[feature1_gains],
1298 gains=[feature1_gains, feature2_gains],
[all …]
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_enhancer.cc241 float* gains = gain_applier_.target(); in UpdateErbGains() local
243 gains[i] = 0.0f; in UpdateErbGains()
245 gains[i] = fmaf(filter_bank_[j][i], gains_eq_[j], gains[i]); in UpdateErbGains()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_BoostedTreesUpdateEnsemble.pbtxt25 name: "gains"
27 List of rank 1 tensors representing the gains for each of the feature's
Dapi_def_BoostedTreesCalculateBestGainsPerFeature.pbtxt49 An output list of Rank 1 tensors indicating the best gains for each feature to split for certain no…
82 …summary: "Calculates gains for each feature and returns the best possible split information for th…
84 The split information is the best threshold (bucket id), gains and left/right node contributions pe…

123