Jerryzcn edited a comment on issue #11834: Fix mxnet ctc_loss bug URL: https://github.com/apache/incubator-mxnet/pull/11834#issuecomment-408250960 Thanks @HawkAaron. it seems removing the max subtraction negatively affect convergence. Do you observe similar result? In the original baidu ctc, there is a section that do max subtraction. I suspect the broadcast is too slow here. Maybe we should write a function for this. ``` for(int r = 0; r < alphabet_size_; ++r) { probs[r + col_offset] = std::exp(activations[r + col_offset] - max_activation); denom += probs[r + col_offset]; } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
