code: def _check_same_type_not_float(
      targets, predictions, ignore_float_check=False
  ):
      if not ignore_float_check:
          if targets.dtype == float:
              raise TypeError(
                  "Input `targets` cannot be an SArray of type float."
              )
          if predictions.dtype == float:
              raise TypeError(
                  "Input `predictions` cannot be an SArray of type float."
              )
      if targets.dtype != predictions.dtype:
          raise TypeError(
              "Inputs SArrays `targets` and `predictions` must be of the same type."
          )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  from turicreate.toolkits._internal_utils import _raise_error_if_not_sarray, _check_categorical_option_type
  from turicreate.toolkits._main import ToolkitError
label_desc: Use image node_id 3 for calling a global function with example usage: _check_same_type_not_float(targets, predictions, ignore_float_check) without return types