docstr: Leaky ReLU gain.
docstr_tok: ["Leaky","ReLU","gain","."]
code: def test_gain_leaky_relu(self):
      """Leaky ReLU gain."""
      slopes = (0.01, 0.1, 0.5, 1)
      expected_gain = (1.41414286, 1.40719509, 1.26491106, 1.00000000)
      for s, egain in zip(slopes, expected_gain):
          gain = objax.nn.init.gain_leaky_relu(s)
          self.assertAlmostEqual(
              gain, egain, delta=1e-6, msg=(s, gain, (gain, egain))
          )
  
file_path: objax/tests/nn_init.py
imports: import unittest
  import numpy
  import scipy.stats
  import objax
label_desc: Use image node_id 10 for calling the TestNNInit obj's underlying member method code with example usage: obj.test_gain_leaky_relu() without return types