Searched refs:output_delay_ (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/core/util/ctc/ |
D | ctc_loss_calculator.cc | 37 log_alpha->coeffRef(0, 0) = log(y(blank_index_, output_delay_)); in CalculateForwardVariables() 40 log_alpha->coeffRef(1, 0) = log(y(label_0, output_delay_)); in CalculateForwardVariables() 72 log(y(l_prime[u], output_delay_ + t)) + sum_log_alpha; in CalculateForwardVariables() 105 log(y(l_prime[u], output_delay_ + t + 1))); in CalculateBackwardVariables() 113 log(y(l_prime[u + 1], output_delay_ + t + 1))); in CalculateBackwardVariables() 125 log(y(l_prime[u + 2], output_delay_ + t + 1))); in CalculateBackwardVariables() 153 for (int t = 0; t < T - output_delay_; ++t) { in CalculateGradient() 166 dy_b(l, output_delay_ + t) = y(l, output_delay_ + t) - negative_term; in CalculateGradient()
|
D | ctc_loss_calculator.h | 59 : blank_index_(blank_index), output_delay_(output_delay) {} in CTCLossCalculator() 103 const int output_delay_; variable 178 labels[b].size() > seq_len(b) - this->output_delay_)) { in CalculateLoss() 192 Matrix log_alpha_b(l_prime.size(), seq_len(b) - this->output_delay_); in CalculateLoss() 193 Matrix log_beta_b(l_prime.size(), seq_len(b) - this->output_delay_); in CalculateLoss() 339 int time = seq_len(b) - output_delay_; in PopulateLPrimes()
|