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_weightsf 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)
docs: initilize batch norm layer weight.