class_docstr: This class is testing the api reference code in
  https://coremltools.readme.io/v7.0/docs/optimizetorch-api-overview
code: def get_global_config(self):
      config_dict = {
          "global_config": {
              "scheduler": {"update_steps": [100, 200, 300, 500]},
              "target_sparsity": 0.8,
          }
      }
      return _TestConfigurationFromDictFromYaml.get_yaml(config_dict)
  
imports: import tempfile
  from coremltools.converters.mil.testing_utils import get_op_types_in_program
  from coremltools.test.optimize.coreml.test_passes import TestCompressionPasses
  from coremltools.test.optimize.coreml.test_passes import TestConfigurationFromDictFromYaml
label_desc: Use image node_id 1 for calling the TestOptimizeTorchAPIOverview obj's underlying member method code with example usage: obj.get_global_config() and returns: _TestConfigurationFromDictFromYaml