Searched refs:log_p_z_x (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/core/util/ctc/ |
D | ctc_loss_calculator.h | 82 float log_p_z_x, Matrix* dy) const; 225 float log_p_z_x = kLogZero; in CalculateLoss() local 228 log_p_z_x = LogSumExp(log_p_z_x, log_alpha_b(u, 0) + log_beta_b(u, 0)); in CalculateLoss() 231 (*loss)(b) = -log_p_z_x; // Use negative log loss for display. in CalculateLoss() 238 CalculateGradient(l_prime, y_b, log_alpha_b, log_beta_b, log_p_z_x, in CalculateLoss()
|
D | ctc_loss_calculator.cc | 137 float log_p_z_x, Matrix* dy) const { in CalculateGradient() argument 143 if (log_p_z_x == kLogZero) { in CalculateGradient() 164 float negative_term = expf(prob_sum[l] - log_p_z_x); in CalculateGradient()
|