code: def test_compute_num_training_steps() -> None:
      experiment_config = {
          "searcher": {"max_length": {"epochs": 3}},
          "records_per_epoch": 124,
      }
      num_training_steps = utils.compute_num_training_steps(
          experiment_config, 16
      )
      assert num_training_steps == 21
  
      experiment_config = {
          "searcher": {"max_length": {"batches": 300}},
      }
      num_training_steps = utils.compute_num_training_steps(
          experiment_config, 16
      )
      assert num_training_steps == 300
  
      experiment_config = {
          "searcher": {"max_length": {"records": 3000}},
      }
      num_training_steps = utils.compute_num_training_steps(
          experiment_config, 16
      )
      assert num_training_steps == 187
  
imports: import os
  import numpy
  from model_hub import utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_compute_num_training_steps() without return types