code: def _config_zero_init(config):
      configs_no_init = copy.deepcopy(config)
      for key in configs_no_init.__dict__.keys():
          if (
              "_range" in key
              or "_std" in key
              or "initializer_factor" in key
              or "layer_scale" in key
          ):
              setattr(configs_no_init, key, 1e-10)
          if isinstance(
              getattr(configs_no_init, key, None), PretrainedConfig
          ):
              no_init_subconfig = _config_zero_init(
                  getattr(configs_no_init, key)
              )
              setattr(configs_no_init, key, no_init_subconfig)
      return configs_no_init
  
imports: import copy
  import os
  import tempfile
  import unittest
  from typing import Dict, List, Tuple
  import numpy
  from transformers import PretrainedConfig, VitsConfig
  from transformers.testing_utils import is_flaky, is_torch_available, require_torch, require_torch_multi_gpu, slow, torch_device
  from transformers.trainer_utils import set_seed
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_common import ModelTesterMixin, global_rng, ids_tensor, random_attention_mask
  from ...test_pipeline_mixin import PipelineTesterMixin
label_desc: Use image node_id 1 for calling a global function with example usage: _config_zero_init(config) and returns: configs_no_init