R/nn-init.R
nn_init_calculate_gain.Rd
Return the recommended gain value for the given nonlinearity function.
nn_init_calculate_gain(nonlinearity, param = NULL)
the non-linear function
optional parameter for the non-linear function