Towards Safe Automated Refactoring of Imperative Deep Learning Programs to Graph Execution | IEEE Conference Publication | IEEE Xplore