code: def infer_fp_dtype_from_complex(complex_dtype):
      """Infers the fp dtype of real and imaginary part from the complex dtype."""
      if complex_dtype == types_complex64:
          return types_fp32
      elif complex_dtype == types_complex128:
          return types_fp64
      else:
          raise ValueError(
              f"Unsupported complex dtype ({complex_dtype})."
          )
  
imports: from collections import namedtuple
  import numpy
  import numpy
  import sympy
  import coremltools.proto.MIL_pb2
  from .get_type_info import get_type_info
  from .type_bool import bool
  from .type_bool import is_bool
  from .type_complex import complex64
  from .type_complex import complex128
  from .type_complex import is_complex
  from .type_dict import is_dict
  from .type_double import fp16
  from .type_double import fp32
  from .type_double import fp64
  from .type_double import is_float
  from .type_int import int8
  from .type_int import int16
  from .type_int import int32
  from .type_int import int64
  from .type_int import is_int
  from .type_int import uint8
  from .type_int import uint16
  from .type_int import uint32
  from .type_int import uint64
  from .type_list import is_list
  from .type_str import str
  from .type_unknown import unknown
label_desc: Use image node_id 24 for calling a global function with example usage: infer_fp_dtype_from_complex(complex_dtype) and returns: types_fp32, types_fp64