Created by: wozna
This is a script that converts models to dot file (optional pdf file). Needed to analyze the graph structure of various models.
Example of use:
python ../python/paddle/fluid/contrib/slim/tests/convert_model_to_dot.py \
--model_path=${PATH_TO_MODEL} \
--model_save_path=${PATH_TO_SAVE_DIR} \
--file_name=${NAME_OF_DOT_PDF_FILES} \
--pdf=True