code: def collect_fp_tensor_types(args, kwargs):
      def collect_types(x, types):
          if is_nested(x):
              for y in x:
                  collect_types(y, types)
          else:
              types.add(type_string(x))
  
      all_args = itertools.chain(args, kwargs.values())
      types = set()
      for x in all_args:
          if is_fp_tensor(x):
              collect_types(x, types)
      return types
  
imports: from .None import compat
  import functools
  import itertools
  import torch
label_desc: Use image node_id 6 for calling a global function with example usage: collect_fp_tensor_types(args, kwargs) and returns: types