diff options
author | Shanqing Cai <cais@google.com> | 2017-04-06 17:46:26 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-04-06 19:07:48 -0700 |
commit | c70d43f844a7d70a7149c34e4e5bad2b2d5591fb (patch) | |
tree | f562d565d2887e69dcec1bf255f2c74696488ef9 | |
parent | 983fdfe955a16e6a67204b825782e1a30141482a (diff) |
tfdbg: update doc for new command list_source/ls
Change: 152456128
-rw-r--r-- | tensorflow/docs_src/programmers_guide/debugger.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/docs_src/programmers_guide/debugger.md b/tensorflow/docs_src/programmers_guide/debugger.md index 6f442e6e0c..10eebf6f42 100644 --- a/tensorflow/docs_src/programmers_guide/debugger.md +++ b/tensorflow/docs_src/programmers_guide/debugger.md @@ -130,6 +130,8 @@ Try the following commands at the `tfdbg>` prompt (referencing the code at | `lo -r hidden/Relu:0` | List the recipients of the output of the node `hidden/Relu`, recursively—i.e., the output recipient tree. | | `lt -n softmax.*` | List all dumped tensors whose names match the regular-expression pattern `softmax.*`. | | `lt -t MatMul` | List all dumped tensors whose node type is `MatMul`. | +| `ls` | List all Python source files responsible for constructing the nodes (and tensors) in the current graph. | +| `ls -n softmax.*` | List Python source files responsible for constructing the nodes whose names match the pattern `softmax.*`. | | `ps /path/to/source.py` | Print the Python source file source.py, with the lines annotated with the ops created at each of them, respectively. | | `ps -t /path/to/source.py` | Same as the command above, but perform annotation using dumped Tensors, instead of ops. | | `ps -b 30 /path/to/source.py` | Annotate source.py beginning at line 30. | |