keras2cpp
keras2cpp copied to clipboard
bug fix: avoid overflow in softmax Activator
Subtracting max_y from all y makes the output of softmax harder to overflow.