code: def main():
      parser = ArgumentParser()
      sub_parser = parser.add_subparsers(
          title="Program mode", required=True, dest="mode"
      )
      split_parser = sub_parser.add_parser("split")
      split_parser.add_argument("model")
  
      args = parser.parse_args()
  
      if args.mode == "split":
          split(args)
  
file_path: calamari/calamari_ocr/scripts/ensemble.py
imports: import json
  import os
  from argparse import ArgumentParser
  from typing import List
  from tensorflow import keras
  from calamari_ocr.ocr import SavedCalamariModel
  from calamari_ocr.ocr.model.ensemblegraph import EnsembleGraph
  from calamari_ocr.ocr.model.graph import Graph
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types