code: def he_initializer_scale(shape, slope=1.0):
      """The scale of He neural network initializer.
  
      Args:
        shape: A list of ints representing the dimensions of a tensor.
        slope: A float representing the slope of the ReLu following the layer.
  
      Returns:
        A float of he initializer scale.
      """
      fan_in = np.prod(shape[:-1])
      return np.sqrt(2.0 / ((1.0 + slope**2) * fan_in))
  
file_path: magenta/magenta/models/gansynth/lib/layers.py
imports: import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 9 for calling a global function with example usage: he_initializer_scale(shape, slope) and returns: np