code: def main():
      config_help = "\n\nConfig parameters:\n\n" + "\n".join(
          ConfigSchema.help()
      )
      parser = argparse.ArgumentParser(
          epilog=config_help,
          # Needed to preserve line wraps in epilog.
          formatter_class=argparse.RawDescriptionHelpFormatter,
      )
      parser.add_argument("config", help="Path to config file")
      parser.add_argument("-p", "--param", action="append", nargs="*")
      parser.add_argument("--entities-output", required=True)
      parser.add_argument("--relation-types-output", required=True)
      opt = parser.parse_args()
  
      loader = ConfigFileLoader()
      config = loader.load_config(opt.config, opt.param)
  
      with open(opt.entities_output, "xt") as entities_tf, open(
          opt.relation_types_output, "xt"
      ) as relation_types_tf:
          make_tsv(config, entities_tf, relation_types_tf)
  
file_path: PyTorch-BigGraph/torchbiggraph/converters/export_to_tsv.py
imports: import argparse
  from typing import Iterable, TextIO
  from torchbiggraph.checkpoint_manager import CheckpointManager
  from torchbiggraph.config import ConfigFileLoader, ConfigSchema
  from torchbiggraph.graph_storages import AbstractEntityStorage, AbstractRelationTypeStorage, ENTITY_STORAGES, RELATION_TYPE_STORAGES
  from torchbiggraph.model import make_model, MultiRelationEmbedder
label_desc: Use image node_id 5 for calling a global function with example usage: main() without return types