docstr: List the train files of the `fold`
docstr_tok: ["List","the","train","files","of","the","`","fold","`"]
code: def train_files(self, fold: int) -> List[str]:
      """List the train files of the `fold`"""
      all_files = []
      for fold_id, inputs in enumerate(self.folds):
          if fold_id != fold:
              all_files += inputs
  
      return all_files
  
file_path: calamari/calamari_ocr/ocr/training/cross_fold.py
imports: import os
  import json
  from contextlib import ExitStack
  from typing import List, Optional
  from tfaip.data.pipeline.definitions import Sample, PipelineMode
  from tfaip.util.multiprocessing.parallelmap import tqdm_wrapper
  from calamari_ocr.ocr.dataset.datareader.base import CalamariDataGeneratorParams
  from calamari_ocr.ocr.dataset.datareader.file import FileDataGenerator, FileDataParams
  from calamari_ocr.ocr.dataset.datareader.hdf5 import Hdf5DatasetWriter
label_desc: Use image node_id 5 for calling the CrossFold obj's underlying member method code with example usage: obj.train_files(fold) and returns: all_files