Home
last modified time | relevance | path

Searched refs:kLogZero (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/util/ctc/
Dctc_beam_entry.h45 BeamProbability() : total(kLogZero), blank(kLogZero), label(kLogZero) {} in BeamProbability()
47 total = kLogZero; in Reset()
48 blank = kLogZero; in Reset()
49 label = kLogZero; in Reset()
64 inline bool Active() const { return newp.total != kLogZero; } in Active()
Dctc_loss_util.h26 const float kLogZero = -std::numeric_limits<float>::infinity(); variable
35 if (log_prob_1 == kLogZero) { in LogSumExp()
37 } else if (log_prob_2 == kLogZero) { in LogSumExp()
Dctc_loss_calculator.cc29 log_alpha->setConstant(kLogZero); in CalculateForwardVariables()
50 float sum_log_alpha = kLogZero; in CalculateForwardVariables()
85 log_beta->setConstant(kLogZero); in CalculateBackwardVariables()
143 if (log_p_z_x == kLogZero) { in CalculateGradient()
155 prob_sum.setConstant(kLogZero); in CalculateGradient()
Dctc_beam_search.h328 return (prob.total > kLogZero && in Step()
350 c.newp.blank = kLogZero; in Step()
Dctc_loss_calculator.h225 float log_p_z_x = kLogZero; in CalculateLoss()
/external/tensorflow/tensorflow/lite/experimental/kernels/
Dctc_beam_entry.h44 BeamProbability() : total(kLogZero), blank(kLogZero), label(kLogZero) {} in BeamProbability()
46 total = kLogZero; in Reset()
47 blank = kLogZero; in Reset()
48 label = kLogZero; in Reset()
63 inline bool Active() const { return newp.total != kLogZero; } in Active()
Dctc_loss_util.h28 const float kLogZero = -std::numeric_limits<float>::infinity(); variable
37 if (log_prob_1 == kLogZero && log_prob_2 == kLogZero) { in LogSumExp()
38 return kLogZero; in LogSumExp()
Dctc_beam_search.h325 return (prob.total > kLogZero && in Step()
347 c.newp.blank = kLogZero; in Step()