code: def cast_float_arguments(
      fn: Callable, *args: Any, **kwargs: Any
  ) -> Tuple[Any, Any]:
      return apply_to_tensors(args, fn), apply_to_tensors(kwargs, fn)
  
file_path: ColossalAI/colossalai/legacy/zero/sharded_model/_utils.py
imports: from typing import Any, Callable, List, Tuple, Union
  import torch
  import torch.nn.functional
  from colossalai.legacy.zero.gemini.stateful_tensor import StatefulTensor
label_desc: Use image node_id 8 for calling a global function with example usage: cast_float_arguments(fn) and returns: apply_to_tensors,  apply_to_tensors