add support for Execution Graph (#1077)
Summary:
Add two options in `run.py` to export execution graph.
- `--profile-eg` will collect execution graph by [PARAM](https://github.com/facebookresearch/param)
- `--profile-eg-folder [folder_path]` specifies the folder to save generated execution graph.
Pull Request resolved: https://github.com/pytorch/benchmark/pull/1077
Reviewed By: xuzhao9
Differential Revision: D38327408
Pulled By: FindHao
fbshipit-source-id: 474a914931fa4ea4ba7ff5c8d9d9334e2a5dee0c