cymr.operations.apply_softmax#
- cymr.operations.apply_softmax(int n, int n_f, double[:] f_in, int[:] exclude, double amin, double T)#
Apply softmax rule to item activation.
- Parameters:
n – Start index of the item segment being recalled from.
n_f – Number of units in the item segment.
f_in – Item input \(\mathbf{f}^\mathrm{IN}\).
exclude – Vector of item indices to exclude from recall.
amin – Minimum item activation for non-excluded items.
T – Temperature parameter of the softmax function.