Home
last modified time | relevance | path

Searched refs:stack_idx (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dskip_gram.cc69 const std::vector<int>& stack, int stack_idx, in ShouldStepInRecursion() argument
72 if (stack_idx < params->ngram_size && stack[stack_idx] + 1 < num_words) { in ShouldStepInRecursion()
74 if (stack_idx == 0) { in ShouldStepInRecursion()
81 if (stack[stack_idx] - stack[stack_idx - 1] <= params->max_skip_size) { in ShouldStepInRecursion()
118 int stack_idx = 1; in Eval() local
121 while (stack_idx >= 0) { in Eval()
122 if (ShouldStepInRecursion(params, stack, stack_idx, num_words)) { in Eval()
126 stack[stack_idx]++; in Eval()
127 stack_idx++; in Eval()
128 if (stack_idx < params->ngram_size) { in Eval()
[all …]
/external/v8/src/wasm/baseline/
Dliftoff-assembler.cc494 const uint32_t stack_idx = param_base + param; in PrepareCall() local
495 const VarState& slot = cache_state_.stack_state[stack_idx]; in PrepareCall()
510 stack_transfers.LoadI64HalfIntoRegister(reg, slot, stack_idx, half); in PrepareCall()
512 stack_transfers.LoadIntoRegister(reg, slot, stack_idx); in PrepareCall()
516 stack_slots.Add(slot, stack_idx, half); in PrepareCall()
/external/libaom/libaom/av1/common/
Dmvref_common.c474 int stack_idx; in process_single_ref_mv_candidate() local
475 for (stack_idx = 0; stack_idx < refmv_count[ref_frame]; ++stack_idx) { in process_single_ref_mv_candidate()
476 const int_mv stack_mv = ref_mv_stack[ref_frame][stack_idx].this_mv; in process_single_ref_mv_candidate()
480 if (stack_idx == refmv_count[ref_frame]) { in process_single_ref_mv_candidate()
481 ref_mv_stack[ref_frame][stack_idx].this_mv = this_mv; in process_single_ref_mv_candidate()
485 ref_mv_stack[ref_frame][stack_idx].weight = 2; in process_single_ref_mv_candidate()