code: def _verify_momentum_type(momentum):
      if not isinstance(
          momentum, cntk_py.training_double_parameter_schedule
      ):
          raise ValueError(
              "momentum type (%s) not supported. "
              "momentum must be a training schedule "
              "(output of momentum_schedule() or "
              "momentum_as_time_constant_schedule() function)"
              % type(momentum)
          )
  
imports: from enum import Enum, unique
  import warnings
  import numpy
  import cntk.internal.utils
  from ..None import cntk_py, NDArrayView, asarray
  from cntk.internal import typemap
  from ..internal.swig_helper import map_if_possible
label_desc: Use image node_id 4 for calling a global function with example usage: _verify_momentum_type(momentum) without return types