code: def test_scheduler(name):
      s = scheduler.dynamic_import_scheduler(name).build("lr")
      assert s.key == "lr"
      assert isinstance(s.scale(0), float)
      assert isinstance(s.scale(1000), float)
  
file_path: espnet/test/test_scheduler.py
imports: import chainer
  import numpy
  import pytest
  import torch
  from espnet.scheduler import scheduler
  from espnet.scheduler.chainer import ChainerScheduler
  from espnet.scheduler.pytorch import PyTorchScheduler
label_desc: Use image node_id 1 for calling a global function with example usage: test_scheduler(name) without return types