code: def _assert_floating(name, t):
      if not torch.is_floating_point(t):
          raise TypeError(
              "`{}` must be a floating point Tensor but is a {}".format(
                  name, t.type()
              )
          )
  
imports: from enum import Enum
  import math
  import numpy
  import torch
  import warnings
  from .event_handling import combine_event_functions
label_desc: Use image node_id 12 for calling a global function with example usage: _assert_floating(name, t) without return types