code: def get_input_dimension(model):
      if not (_HAS_SKLEARN):
          raise RuntimeError(
              "scikit-learn not found. scikit-learn conversion API is disabled."
          )
  
      _sklearn_util.check_fitted(
          model, lambda m: hasattr(m, "statistics_")
      )
      return len(model.statistics_)
  
file_path: coremltools/coremltools/converters/sklearn/_imputer.py
imports: from distutils.version import StrictVersion
  from ...None import SPECIFICATION_VERSION
  from ..._deps import _HAS_SKLEARN, _SKLEARN_VERSION
  from ...models import MLModel
  from ...models import datatypes
  from ...models._interface_management import set_transform_interface_params
  from ...proto import Model_pb2
  from .None import _sklearn_util
label_desc: Use image node_id 3 for calling a global function with example usage: get_input_dimension(model) and returns: len