Home
last modified time | relevance | path

Searched refs:best_index (Results 1 – 15 of 15) sorted by relevance

/external/eigen/test/
Deigensolver_complex.cpp29 Index best_index(0); in find_pivot() local
30 if(diffs.col(col).segment(col,n-i).minCoeff(&best_index) > tol) in find_pivot()
33 best_index += col; in find_pivot()
35 diffs.row(col).swap(diffs.row(best_index)); in find_pivot()
37 diffs.row(col).swap(diffs.row(best_index)); in find_pivot()
40 diffs.row(n-(i-col)-1).swap(diffs.row(best_index)); in find_pivot()
41 transpositions.push_back(std::pair<Index,Index>(n-(i-col)-1,best_index)); in find_pivot()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dgrow_stats.cc310 int32 best_index; in CheckFinishEarlyHoeffding() local
313 GetTwoBest(num_splits(), score_fn, &best_score, &best_index, in CheckFinishEarlyHoeffding()
348 int32 best_index; in CheckFinishEarlyBootstrap() local
351 GetTwoBest(num_splits(), score_fn, &best_score, &best_index, in CheckFinishEarlyBootstrap()
355 MakeBootstrapWeights(best_index, &weights1); in CheckFinishEarlyBootstrap()
381 int best_index = -1; in BestSplit() local
392 best_index = i; in BestSplit()
399 if (best_index < 0) { in BestSplit()
404 *best->mutable_split() = splits_[best_index]; in BestSplit()
409 InitLeafClassStats(best_index, left, right); in BestSplit()
[all …]
Dgraph_collection_operator.cc41 int best_index = -1; in BestSplit() local
50 best_index = i; in BestSplit()
55 if (best_index < 0) { in BestSplit()
61 auto& runner = runners_[UniqueId(node_id, best_index)]; in BestSplit()
/external/tensorflow/tensorflow/contrib/constrained_optimization/python/
Dcandidates.py306 best_index = None
311 best_index = ii
316 best_index = ii
319 return best_index
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dtree_utils.cc46 float* best_score, int* best_index, float* second_best_score, in GetTwoBest() argument
48 *best_index = -1; in GetTwoBest()
56 *second_best_index = *best_index; in GetTwoBest()
58 *best_index = i; in GetTwoBest()
82 float* best_score, int* best_index, in GetTwoBestClassification() argument
109 GetTwoBest(num_splits, score_fn, best_score, best_index, second_best_score, in GetTwoBestClassification()
157 int32 accumulator, float* best_score, int* best_index, in GetTwoBestRegression() argument
191 best_score, best_index, second_best_score, second_best_index); in GetTwoBestRegression()
Dtree_utils.h60 float* best_score, int* best_index, float* second_best_score,
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dexpand.cc420 size_t best_index = std::numeric_limits<size_t>::max(); in AnalyzeSignal() local
431 best_index = i; in AnalyzeSignal()
436 size_t distortion_lag = best_distortion_index[best_index]; in AnalyzeSignal()
437 size_t correlation_lag = best_correlation_index[best_index]; in AnalyzeSignal()
470 best_index = WebRtcSpl_MaxIndexW32(correlation_vector2, correlation_lags); in AnalyzeSignal()
471 int32_t max_correlation = correlation_vector2[best_index]; in AnalyzeSignal()
473 best_index = best_index + start_index; in AnalyzeSignal()
481 &(audio_history[signal_length - correlation_length - best_index]), in AnalyzeSignal()
482 &(audio_history[signal_length - correlation_length - best_index]), in AnalyzeSignal()
Ddsp_helper.cc241 size_t best_index = 0; in MinDistortion() local
253 best_index = i; in MinDistortion()
257 return best_index; in MinDistortion()
/external/webrtc/talk/media/base/
Dvideocommon.cc88 int best_index = kNumScaleFactors - 1; // Default to max scale. in FindLowerScale() local
95 best_index = i; in FindLowerScale()
101 return kScaleFactors[best_index]; in FindLowerScale()
/external/tensorflow/tensorflow/contrib/nearest_neighbor/kernels/
Dhyperplane_lsh_probes.h112 int_fast32_t best_index = sorted_hyperplane_indices_[ii][0]; in SetupProbing() local
114 hash_vector_[ii * num_hyperplanes_per_table_ + best_index]; in SetupProbing()
117 hash_mask = hash_mask << (num_hyperplanes_per_table_ - best_index - 1); in SetupProbing()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history.cc284 int best_index = -1; // Returned unchanged if we don't find anything. in FindBestFittingPacket() local
293 best_index = static_cast<int>(i); in FindBestFittingPacket()
296 return best_index; in FindBestFittingPacket()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rd.c542 int best_index = 0; in vp9_mv_pred() local
581 best_index = i; in vp9_mv_pred()
586 x->mv_best_ref_index[ref_frame] = best_index; in vp9_mv_pred()
/external/autotest/client/common_lib/
Dpexpect.py1668 best_index, best_match = index, s
1674 return best_index
1755 best_index = index
1761 return best_index
/external/flac/libFLAC/
Dlpc.c1335 …unsigned order, indx, best_index; /* 'index' the index into lpc_error; index==order-1 since lpc_er… in FLAC__lpc_compute_best_order() local
1343 best_index = 0; in FLAC__lpc_compute_best_order()
1349 best_index = indx; in FLAC__lpc_compute_best_order()
1354 return best_index+1; /* +1 since indx of lpc_error[] is order-1 */ in FLAC__lpc_compute_best_order()
/external/boringssl/src/ssl/
Dt1_lib.cc2796 size_t best_index = num_algs; in cert_compression_parse_clienthello() local
2811 if (i < best_index) { in cert_compression_parse_clienthello()
2812 best_index = i; in cert_compression_parse_clienthello()
2827 if (best_index < num_algs && in cert_compression_parse_clienthello()
2832 best_index) in cert_compression_parse_clienthello()