code: def add_noise(weights, other_weights):
      """add noise to the layer."""
      w_range = np.ptp(other_weights.flatten())
      noise_range = NOISE_RATIO * w_range
      noise = np.random.uniform(
          -noise_range / 2.0, noise_range / 2.0, weights.shape
      )
      return np.add(noise, 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 8 for calling a global function with example usage: add_noise(weights, other_weights) and returns: np