code: def collate_float_fn(
      batch,
      *,
      collate_fn_map: Optional[
          Dict[Union[Type, Tuple[Type, ...]], Callable]
      ] = None,
  ):
      return torch.tensor(batch, dtype=torch.float64)
  
file_path: pytorch/torch/utils/data/_utils/collate.py
imports: import collections
  import contextlib
  import re
  import torch
  from typing import Callable, Dict, Optional, Tuple, Type, Union
label_desc: Use image node_id 6 for calling a global function with example usage: collate_float_fn(batch) and returns: torch