tfdbg CLI: A few improvements and refactoring
1. Refactor the code in local_cli_wrapper.py for generating introductory messages about the run() call and the TF runtime error to functions in a new python file: cli/cli_shared.py 2. Make the introductory message-generating functions capable of handling nested lists, tuples, dicts and namedtuples as the fetches of run() calls. 3. Use bold font attribute to highlight suggested commands in the introductory messages. 4. Minor tweaks to the title bar color. 5. Minor doc fixes in examples/README.md. 6. Add new font attribute "blink" to curses_ui.py and let the error title message use that attribute. Change: 139866031
Showing
想要评论请 注册 或 登录