code: def test_sched_config_parse_simple(self):
      model = TempModel()
      opt_cls = optim.get_optimizer("novograd")
      opt = opt_cls(model.parameters(), lr=self.INITIAL_LR)
  
      basic_sched_config = {"name": "CosineAnnealing", "max_steps": 10}
      scheduler_setup = optim.lr_scheduler.prepare_lr_scheduler(
          opt, basic_sched_config
      )
      assert isinstance(
          scheduler_setup["scheduler"],
          optim.lr_scheduler.CosineAnnealing,
      )
  
      dict_config = omegaconf.OmegaConf.create(basic_sched_config)
      scheduler_setup = optim.lr_scheduler.prepare_lr_scheduler(
          opt, dict_config
      )
      assert isinstance(
          scheduler_setup["scheduler"],
          optim.lr_scheduler.CosineAnnealing,
      )
  
imports: import math
  import random
  import omegaconf
  import pytest
  import pytorch_lightning
  import torch
  import torch.optim
  from pytorch_lightning.utilities import rank_zero_only
  from nemo.core import config, optim
  from nemo.core.optim.lr_scheduler import AVAILABLE_SCHEDULERS
  from nemo.core.optim.optimizers import AVAILABLE_OPTIMIZERS
  from nemo.utils import logging
label_desc: Use image node_id 8 for calling the TestOptimizersSchedulers obj's underlying member method code with example usage: obj.test_sched_config_parse_simple() without return types