zhongkaifu / RNNSharp

RNNSharp is a toolkit of deep recurrent neural network which is widely used for many different kinds of tasks, such as sequence labeling, sequence-to-sequence and so on. It's written by C# language and based on .NET framework 4.6 or above versions. RNNSharp supports many different types of networks, such as forward and bi-directional network, sequence-to-sequence network, and different types of layers, such as LSTM, Softmax, sampled Softmax and others.
BSD 3-Clause "New" or "Revised" License
285 stars 92 forks source link

puzzled about function : logsumexp #38

Open kymo opened 6 years ago

kymo commented 6 years ago

hi, i notice that the logsumexp function in your project is not match with what's introduced in wikipedia : https://en.wikipedia.org/wiki/LogSumExp . Am I mis-understood ?

zhongkaifu commented 6 years ago

Because it's optimized for computer and avoid computing errors when values are too large or small.