Home
last modified time | relevance | path

Searched refs:num_results (Results 1 – 25 of 33) sorted by relevance

12

/external/libtextclassifier/utils/tflite/
Ddist_diversification.cc80 const TfLiteTensor& num_results = in AllocateOutputIndexes() local
87 CreateSizeArray({num_results.data.i32[0]})); in AllocateOutputIndexes()
91 const TfLiteTensor& num_results = in Prepare() local
94 if (tflite::IsConstantTensor(&num_results)) { in Prepare()
124 const int num_results = in Eval() local
132 distance_matrix_dim, min_distance, num_results); in Eval()
135 num_results - indices.size(), -1); in Eval()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_driver_query.c212 unsigned num_results; member
225 ++info->num_results; in query_new_value_batch()
253 info->num_results++; in query_new_value_normal()
320 if (info->num_results && info->last_time + gr->pane->period <= now) { in query_new_value()
326 value = info->results_cumulative / info->num_results; in query_new_value()
341 info->num_results = 0; in query_new_value()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dget_top_n_impl.h30 void get_top_n(T* prediction, int prediction_size, size_t num_results, in get_top_n() argument
54 if (top_result_pq.size() > num_results) { in get_top_n()
Dget_top_n.h25 void get_top_n(T* prediction, int prediction_size, size_t num_results,
/external/libhevc/encoder/
Dihevce_me_instr_set_router.c319 S08 i1_grid_flag, U08 u1_is_cu_noisy, S32 i4_part_mask, S32 num_parts, S32 num_results) in hme_get_calc_sad_and_result_fxn() argument
323 ASSERT((1 == num_results) || (2 == num_results)); in hme_get_calc_sad_and_result_fxn()
332 return gapf_calc_sad_and_result_fxn[u1_index][2 == num_results]; in hme_get_calc_sad_and_result_fxn()
Dhme_interface.c751 S32 num_results, use_4x4; in hme_coarse_get_layer1_mv_bank_ref_idx_size() local
775 num_results = 4; in hme_coarse_get_layer1_mv_bank_ref_idx_size()
781 num_results = 2; in hme_coarse_get_layer1_mv_bank_ref_idx_size()
794 num_mvs_per_blk = num_ref * num_results; in hme_coarse_get_layer1_mv_bank_ref_idx_size()
1141 S32 num_results; in hme_enc_alloc_init_mem() local
1286 num_results = ps_prms->max_num_results_coarse; in hme_enc_alloc_init_mem()
1290 num_results = ps_prms->max_num_results; in hme_enc_alloc_init_mem()
1292 num_results = 1; in hme_enc_alloc_init_mem()
1298 num_results, in hme_enc_alloc_init_mem()
1340 num_results = ps_prms->max_num_results_coarse; in hme_enc_alloc_init_mem()
[all …]
Dhme_err_compute.c1449 S32 num_results, i4_unique_id = -1, i4_grid_pt; in hme_update_results_grid_pu_bestn_xtreme_speed() local
1466 num_results = (S32)ps_search_results->u1_num_results_per_part; in hme_update_results_grid_pu_bestn_xtreme_speed()
1534 ASSERT(num_results == 1); in hme_update_results_grid_pu_bestn_xtreme_speed()
1540 if(i4_tot_cost < ps_best_node[num_results - 1].i4_tot_cost) in hme_update_results_grid_pu_bestn_xtreme_speed()
1562 S32 num_results, i4_unique_id = -1, i4_grid_pt; in hme_update_results_grid_pu_bestn() local
1579 num_results = (S32)ps_search_results->u1_num_results_per_part; in hme_update_results_grid_pu_bestn()
1641 if(i4_tot_cost < ps_best_node[num_results - 1].i4_tot_cost) in hme_update_results_grid_pu_bestn()
1643 for(i = 0; i < num_results - 1; i++) in hme_update_results_grid_pu_bestn()
1650 sizeof(search_node_t) * (num_results - 1 - i)); in hme_update_results_grid_pu_bestn()
1693 S32 num_results, i4_unique_id = -1, i4_grid_pt; in hme_update_results_grid_pu_bestn_no_encode() local
[all …]
Dihevce_me_instr_set_router.h179 U08 u1_is_cu_noisy, S32 i4_part_mask, S32 num_parts, S32 num_results);
Dhme_coarse.c284 ps_coarse_prms->num_results, in hme_coarse_frm_init()
887 num_results_per_part = (ps_coarse_prms->num_results + 3) >> 2; in hme_coarsest()
891 ps_coarse_prms->num_results, in hme_coarsest()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c687 OUT_CS_REG(R300_ZB_ZPASS_ADDR, (query->num_results + 3) * 4); in r300_emit_query_end_frag_pipes()
692 OUT_CS_REG(R300_ZB_ZPASS_ADDR, (query->num_results + 2) * 4); in r300_emit_query_end_frag_pipes()
699 OUT_CS_REG(R300_ZB_ZPASS_ADDR, (query->num_results + 1) * 4); in r300_emit_query_end_frag_pipes()
704 OUT_CS_REG(R300_ZB_ZPASS_ADDR, (query->num_results + 0) * 4); in r300_emit_query_end_frag_pipes()
725 OUT_CS_REG(R300_ZB_ZPASS_ADDR, query->num_results * 4); in rv530_emit_query_end_single_z()
738 OUT_CS_REG(R300_ZB_ZPASS_ADDR, (query->num_results + 0) * 4); in rv530_emit_query_end_double_z()
741 OUT_CS_REG(R300_ZB_ZPASS_ADDR, (query->num_results + 1) * 4); in rv530_emit_query_end_double_z()
767 query->num_results += query->num_pipes; in r300_emit_query_end()
770 if (query->num_results >= query->buf->size / 4 - 4) { in r300_emit_query_end()
771 query->num_results = (query->buf->size / 4) / 2; in r300_emit_query_end()
Dr300_query.c105 q->num_results = 0; in r300_begin_query()
169 for (i = 0; i < q->num_results; i++) { in r300_get_query_result()
Dr300_context.h292 unsigned num_results; member
/external/tensorflow/tensorflow/compiler/aot/
Dcodegen.cc215 size_t num_results = ps.result().tuple_shapes_size(); in GenResultMethods() local
216 if (config.fetch_size() + config.variable_size() != num_results) { in GenResultMethods()
267 size_t num_results = ps.result().tuple_shapes_size(); in GenVariableMethods() local
268 for (int i = config.fetch_size(); i < num_results; ++i) { in GenVariableMethods()
/external/tensorflow/tensorflow/examples/ios/camera/
Dtensorflow_utils.h49 const int num_results, const float threshold,
Dtensorflow_utils.mm52 const int num_results, const float threshold,
73 if (top_result_pq.size() > num_results) {
/external/tensorflow/tensorflow/core/kernels/data/
Dparallel_interleave_dataset_op.cc489 int64 num_results; in CurrentElementsManager() local
492 num_results = in CurrentElementsManager()
495 if (num_results > 0) { in CurrentElementsManager()
500 ctx, std::move(element), num_results)); in CurrentElementsManager()
535 int64 num_results) LOCKS_EXCLUDED(*mu_) { in FetchResults() argument
539 for (int64 i = 0; i < num_results; ++i) { in FetchResults()
/external/libtextclassifier/utils/
Dlua-utils.cc261 const int num_args, const int num_results) { in RunProtected() argument
279 return lua_pcall(state_, num_args, num_results, /*errorfunc=*/0); in RunProtected()
Dlua-utils.h236 const int num_results = 0);
/external/tensorflow/tensorflow/lite/examples/ios/simple/
DRunModelViewController.mm49 static void GetTopN(const float* prediction, const int prediction_size, const int num_results,
69 if (top_result_pq.size() > num_results) {
/external/freetype/src/psaux/
Dcffdecode.c1925 FT_Int num_results = (FT_Int)( args[0] >> 16 ); in cff_decoder_parse_charstrings() local
1930 if ( num_results < 0 ) in cff_decoder_parse_charstrings()
1933 if ( num_results * (FT_Int)num_designs > num_args ) in cff_decoder_parse_charstrings()
1939 args -= num_results * ( num_designs - 1 ); in cff_decoder_parse_charstrings()
1940 num_args -= num_results * ( num_designs - 1 ); in cff_decoder_parse_charstrings()
/external/tensorflow/tensorflow/examples/ios/simple/
DRunModelViewController.mm69 const int num_results, const float threshold,
89 if (top_result_pq.size() > num_results) {
/external/tensorflow/tensorflow/examples/ios/benchmark/
DBenchmarkViewController.mm71 const int num_results, const float threshold,
91 if (top_result_pq.size() > num_results) {
/external/libcxx/fuzzing/
Dfuzzing.cpp322 const size_t num_results = data[0] % size; in partial_sort_copy() local
323 Vec results(num_results); in partial_sort_copy()
/external/tensorflow/tensorflow/lite/examples/ios/camera/
DCameraExampleViewController.mm88 const float* prediction, const int prediction_size, const int num_results,
107 if (top_result_pq.size() > num_results) {
/external/freetype/src/sfnt/
Dttcmap.c2979 FT_UInt32 num_results, in tt_cmap14_ensure() argument
2986 if ( num_results > cmap->max_results ) in tt_cmap14_ensure()
2990 if ( FT_QRENEW_ARRAY( cmap->results, old_max, num_results ) ) in tt_cmap14_ensure()
2993 cmap->max_results = num_results; in tt_cmap14_ensure()

12