code: def _check_reg_targets(
      y_true: ArrayLike, y_pred: ArrayLike, multioutput: Optional[str]
  ):
      if multioutput is not None and (
          is_dask_collection(multioutput)
          or multioutput != "uniform_average"
      ):
          raise NotImplementedError(
              "'multioutput' must be 'uniform_average'"
          )
  
      if y_true.ndim == 1:
          y_true = y_true.reshape((-1, 1))
      if y_pred.ndim == 1:
          y_pred = y_pred.reshape((-1, 1))
  
      # TODO: y_type, multioutput
      return None, y_true, y_pred, multioutput
  
file_path: dask-ml/dask_ml/metrics/regression.py
imports: from typing import Optional
  import dask.array
  import numpy
  import sklearn.metrics
  from dask import is_dask_collection
  from dask.utils import derived_from
  from .._typing import ArrayLike
label_desc: Use image node_id 2 for calling a global function with example usage: _check_reg_targets(y_true, y_pred, multioutput) and returns: None,  y_true,  y_pred,  multioutput