code: def test_save_and_load(self):
      with tempfile.TemporaryDirectory() as tmp_dir:
          quantization_config = AutoQuantizationConfig.arm64(
              is_static=False, per_channel=False
          )
          optimization_config = OptimizationConfig(optimization_level=2)
          ort_config = ORTConfig(
              opset=11,
              quantization=quantization_config,
              optimization=optimization_config,
          )
          ort_config.save_pretrained(tmp_dir)
          loaded_ort_config = ORTConfig.from_pretrained(tmp_dir)
          self.assertEqual(
              ort_config.to_dict(), loaded_ort_config.to_dict()
          )
  
file_path: optimum/tests/onnxruntime/test_utils.py
imports: import tempfile
  import unittest
  import onnxruntime
  import torch
  from optimum.onnxruntime.configuration import AutoQuantizationConfig, OptimizationConfig, ORTConfig
  from optimum.onnxruntime.utils import get_device_for_provider, get_provider_for_device
label_desc: Use image node_id 1 for calling the ORTConfigTest obj's underlying member method code with example usage: obj.test_save_and_load() without return types