code: def __init__(
      self,
      model: _torch.nn.Module,
      config: _Optional[_OptimizationConfig] = None,
  ):
      self._model = model
      self._config = config
      self._step_count = 0
  
file_path: coremltools/coremltools/optimize/torch/base_model_optimizer.py
imports: import logging
  from abc import ABC
  from abc import abstractmethod
  from collections import UserDict
  from typing import Optional
  from typing import Tuple
  import torch
  from coremltools.optimize.torch._utils.python_utils import get_str
  from coremltools.optimize.torch.optimization_config import OptimizationConfig
label_desc: Use image node_id 1 to create a new BaseModelOptimizer object from inherited base classes: _ABC with example: obj = BaseModelOptimizer(model, config)