code: def _check_supported_dtypes(dtype):
      if dtype is None:
          return
      dtype = dtypes.as_dtype(dtype)
      if not (dtype.is_floating or dtype.is_complex):
          raise ValueError(
              "RNN cell only supports floating point inputs, "
              "but saw dtype: %s" % dtype
          )
  
imports: import numpy
  import tensorflow
  from keras.layers.legacy_rnn.rnn_cell_impl import LayerRNNCell
  from tensorflow.python.eager import context
  from tensorflow.python.keras import activations
  from tensorflow.python.keras import initializers
  from tensorflow.python.keras.utils import tf_utils
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.ops import init_ops
  from tensorflow.python.framework import dtypes
  from tensorflow.python.util import nest
label_desc: Use image node_id 2 for calling a global function with example usage: _check_supported_dtypes(dtype) without return types