code: def collate_csv(input_files: List[str], output_file: str):
      """Collates multiple identically structured CSVs into a single CSV file."""
      with open(output_file, mode="w", newline="") as outfile:
          writer = csv.DictWriter(outfile, fieldnames=BENCHMARK_FIELDS)
          writer.writeheader()
  
          for file in input_files:
              with open(file, mode="r") as infile:
                  reader = csv.DictReader(infile)
                  for row in reader:
                      writer.writerow(row)
  
file_path: diffusers/benchmarks/utils.py
imports: import argparse
  import csv
  import gc
  import os
  from dataclasses import dataclass
  from typing import Dict, List, Union
  import torch
  import torch.utils.benchmark
label_desc: Use image node_id 6 for calling a global function with example usage: collate_csv(input_files, output_file) without return types