code: def __check_init_num_dimensions(
      num_dimensions, required_num_dimensions
  ):
      if num_dimensions != required_num_dimensions:
          raise ValueError(
              "The provided initialization contains a different number "
              "of components (%d) than the embedding (%d)."
              % (num_dimensions, required_num_dimensions)
          )
  
imports: import inspect
  import logging
  import multiprocessing
  from collections.abc import Iterable
  from types import SimpleNamespace
  from time import time
  import numpy
  from sklearn.base import BaseEstimator
  from openTSNE import _tsne
  from openTSNE import initialization
  from openTSNE.affinity import Affinities, MultiscaleMixture
  from openTSNE.quad_tree import QuadTree
  from openTSNE import utils
label_desc: Use image node_id 4 for calling a global function with example usage: __check_init_num_dimensions(num_dimensions, required_num_dimensions) without return types