code: def _write_to_files(full):
      readme_file_path = Path(__file__).parent.joinpath("README.rst")
      doc_file_path = (
          Path(__file__)
          .parent.parent.parent.joinpath("docs")
          .joinpath("source")
          .joinpath("model_reference.rst")
      )
      for file_path in readme_file_path, doc_file_path:
          with open(file_path, "w", encoding="utf-8") as out_file:
              out_file.write(full)
  
file_path: MatchZoo/matchzoo/models/parameter_readme_generator.py
imports: from pathlib import Path
  import tabulate
  import inspect
  import pandas
  import matchzoo
label_desc: Use image node_id 8 for calling a global function with example usage: _write_to_files(full) without return types