nn_init_calculate_gain {torch} | R Documentation |
Return the recommended gain value for the given nonlinearity function.
nn_init_calculate_gain(nonlinearity, param = NULL)
nonlinearity |
the non-linear function |
param |
optional parameter for the non-linear function |