code: def test_initialization(self):
      (
          config,
          _,
      ) = self.model_tester.prepare_config_and_inputs_for_common()
  
      for model_class in self.all_model_classes:
          model = model_class(config=config)
          for name, param in model.named_parameters():
              if "time_decay" in name:
                  if param.requires_grad:
                      self.assertTrue(param.data.max().item() == 3.0)
                      self.assertTrue(param.data.min().item() == -5.0)
              elif "time_first" in name:
                  if param.requires_grad:
                      # check if it's a ones like
                      self.assertTrue(
                          torch.allclose(
                              param.data,
                              torch.ones_like(param.data),
                              atol=1e-5,
                              rtol=1e-5,
                          )
                      )
              elif any(
                  x in name
                  for x in ["time_mix_key", "time_mix_receptance"]
              ):
                  if param.requires_grad:
                      self.assertInterval(
                          param.data,
                          [0.0, 1.0],
                          msg=f"Parameter {name} of model {model_class} seems not properly initialized",
                      )
              elif "time_mix_value" in name:
                  if param.requires_grad:
                      self.assertInterval(
                          param.data,
                          [0.0, 1.3],
                          msg=f"Parameter {name} of model {model_class} seems not properly initialized",
                      )
  
imports: import unittest
  from unittest.util import safe_repr
  from transformers import AutoTokenizer, RwkvConfig, is_torch_available
  from transformers.testing_utils import require_torch, slow, torch_device
  from ...generation.test_utils import GenerationTesterMixin
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_common import ModelTesterMixin, floats_tensor, ids_tensor, random_attention_mask
  from ...test_pipeline_mixin import PipelineTesterMixin
label_desc: Use image node_id 7 for calling the RwkvModelTest obj's underlying member method code with example usage: obj.test_initialization() without return types