nn_init_calculate_gain function

Calculate gain

Calculate gain

Return the recommended gain value for the given nonlinearity function.

nn_init_calculate_gain(nonlinearity, param = NULL)

Arguments

  • nonlinearity: the non-linear function
  • param: optional parameter for the non-linear function
  • Maintainer: Daniel Falbel
  • License: MIT + file LICENSE
  • Last published: 2025-02-14