What is gain value in nn.init.calculate_gain(nonlinearity, param=None) and how to use these gain number and why?

what is gain value in nn.init.calculate_gain(nonlinearity, param=None) and how to use these gain number and why ?