code: def init_bn_weight(layer):
      """initilize batch norm layer weight."""
      n_filters = layer.num_features
      new_weights = [
          add_noise(
              np.ones(n_filters, dtype=np.float32), np.array([0, 1])
          ),
          add_noise(
              np.zeros(n_filters, dtype=np.float32), np.array([0, 1])
          ),
          add_noise(
              np.zeros(n_filters, dtype=np.float32), np.array([0, 1])
          ),
          add_noise(
              np.ones(n_filters, dtype=np.float32), np.array([0, 1])
          ),
      ]
      layer.set_weights(new_weights)
  
file_path: nni/nni/algorithms/hpo/networkmorphism_tuner/layer_transformer.py
imports: import numpy
  from .layers import StubDense, StubReLU, get_batch_norm_class, get_conv_class, get_n_dim
label_desc: Use image node_id 11 for calling a global function with example usage: init_bn_weight(layer) without return types