code: def _divide_chunks(l, n):
      """Divide iterable into n-sized chunks"""
      for i in range(0, len(l), n):
          yield l[i : i + n]
  
imports: import numpy
  from sklearn.base import BaseEstimator, ClassifierMixin, is_classifier
  from sklearn.utils.metaestimators import if_delegate_has_method
  from sklearn.utils import check_X_y, safe_sqr
  from sklearn.model_selection import check_cv
  from sklearn.metrics import check_scoring
  from joblib import Parallel, delayed
  from itertools import product
  from scipy.sparse import issparse
  from .validation import _check_is_fitted
  from .base import _parse_partitions, _clone
  from .utils import _safe_split
label_desc: Use image node_id 3 for calling a global function with example usage: _divide_chunks(l, n) without return types