Move the access to strides outside of the loop.
small code cleanup
Refactor code to reuse it later.
Use vectorized version of exp in the Softmax op.
Same speed up for SoftmaxWithBias
Fix calling to SoftmaxWithBias.c_code_template() since it changed interface.
Fix compilation crash just introduced. Refactor to make sure row_max
is avaiable not just in the inner of the loop for the Cross entropy
fct. This also remove duplicate code.
Merge pull request #1774 from nouiz/softmax

Softmax optimization