resolveActivationAlgorithm function
Resolves an ActivationAlgorithm
to a mathematical function in the form of
an ActivationFunction
.
Implementation
ActivationFunction resolveActivationAlgorithm(
ActivationAlgorithm activationAlgorithm,
) =>
(weightedSum) => algorithms[activationAlgorithm]!.first(weightedSum());