algorithms top-level constant

Map containing all available activation algorithms and their derivatives.

Implementation

const algorithms = <ActivationAlgorithm, List<ActivationFunctionSignature>>{
  ActivationAlgorithm.sigmoid: [sigmoid, sigmoidPrime],
  ActivationAlgorithm.relu: [relu, reluPrime],
  ActivationAlgorithm.lrelu: [lrelu, lreluPrime],
  ActivationAlgorithm.elu: [elu, eluPrime],
  ActivationAlgorithm.selu: [selu, seluPrime],
  ActivationAlgorithm.tanh: [tanh, tanhPrime],
  ActivationAlgorithm.softplus: [softplus, softplusPrime],
  ActivationAlgorithm.softsign: [softsign, softsignPrime],
  ActivationAlgorithm.swish: [swish, swishPrime],
  ActivationAlgorithm.gaussian: [gaussian, gaussianPrime],
};