code: def init_dense_weight(layer):
      """initilize dense layer weight."""
      units = layer.units
      weight = np.eye(units)
      bias = np.zeros(units)
      layer.set_weights(
          (
              add_noise(weight, np.array([0, 1])),
              add_noise(bias, np.array([0, 1])),
          )
      )
  
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 9 for calling a global function with example usage: init_dense_weight(layer) without return types