Searched refs:max_coeff (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | softmax.h | 142 float max_coeff = in[0]; in Softmax() local 144 if (in[i] > max_coeff) max_coeff = in[i]; in Softmax() 150 out[i] = std::exp((in[i] - max_coeff) * beta); in Softmax()
|
/external/tensorflow/tensorflow/lite/experimental/kernels/ |
D | ctc_beam_search.h | 253 float max_coeff; in Step() local 255 max_coeff = GetTopK(label_selection_size_, raw_input, &top_k_logits, in Step() 258 max_coeff = raw_input.maxCoeff(); in Step() 264 logsumexp += Eigen::numext::exp(raw_input(j) - max_coeff); in Step() 268 float norm_offset = max_coeff + logsumexp; in Step() 271 (label_selection_margin_ >= 0) ? (max_coeff - label_selection_margin_) in Step()
|
/external/tensorflow/tensorflow/core/util/ctc/ |
D | ctc_beam_search.h | 256 float max_coeff; in Step() local 258 max_coeff = GetTopK(label_selection_size_, raw_input, &top_k_logits, in Step() 261 max_coeff = raw_input.maxCoeff(); in Step() 267 logsumexp += Eigen::numext::exp(raw_input(j) - max_coeff); in Step() 271 float norm_offset = max_coeff + logsumexp; in Step() 274 (label_selection_margin_ >= 0) ? (max_coeff - label_selection_margin_) in Step()
|
D | ctc_loss_calculator.h | 212 float max_coeff = inputs[t].row(b).maxCoeff(); in CalculateLoss() local 213 y_b_col = (inputs[t].row(b).array() - max_coeff).exp(); in CalculateLoss()
|
/external/libvpx/libvpx/test/ |
D | partial_idct_test.cc | 131 const int64_t max_coeff = (32766 << (bit_depth_ - 8)) / 4; in InitInput() local 132 int64_t max_energy_leftover = max_coeff * max_coeff; in InitInput() 276 const int16_t max_coeff = std::numeric_limits<int16_t>::max(); in TEST_P() local 282 const int coeff = j ? min_coeff : max_coeff; in TEST_P()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | activations.cc | 556 float max_coeff = in[0]; in Softmax() local 558 if (in[i] > max_coeff) max_coeff = in[i]; in Softmax() 564 out[i] = std::exp((in[i] - max_coeff) * beta); in Softmax()
|
/external/libaom/libaom/aom_dsp/ |
D | noise_model.c | 1200 double max_coeff = 1e-4, min_coeff = -1e-4; in aom_noise_model_get_grain_parameters() local 1206 max_coeff = AOMMAX(max_coeff, eqns->x[i]); in aom_noise_model_get_grain_parameters() 1232 max_coeff = AOMMAX(max_coeff, y_corr[c - 1]); in aom_noise_model_get_grain_parameters() 1239 clamp(7 - (int)AOMMAX(1 + floor(log2(max_coeff)), ceil(log2(-min_coeff))), in aom_noise_model_get_grain_parameters()
|
/external/webp/src/dsp/ |
D | enc_mips_dsp_r2.c | 1460 const int max_coeff = (MAX_COEFF_THRESH << 16) + MAX_COEFF_THRESH; in CollectHistogram_MIPSdspR2() local 1474 : [dist]"r"(distribution), [out]"r"(out), [max_coeff]"r"(max_coeff) in CollectHistogram_MIPSdspR2()
|