Skip to content

Commit

Permalink
tfdbg: stepper: allow multiple fetches + fix a bug
Browse files Browse the repository at this point in the history
1. Previously, the constructor of NodeStepper supports only a single fetch. This CL extends the support to potentially nested lists, tuples and dicts of fetches, as in Session.run().

2. The topological sort algorithm in _dfs_visit() was previously wrong. This CL fixes that.

3. Added new methods handle_node_names(), output_slots_in_closure(), and is_placeholder(), along with unit-test coverage.

4. Fixed the way cont() calls on Placeholders work (with unit tests).
Change: 141094319
  • Loading branch information
caisq authored and tensorflower-gardener committed Dec 5, 2016
1 parent bdf7103 commit 1f7526b
Show file tree
Hide file tree
Showing 2 changed files with 441 additions and 78 deletions.
Loading

0 comments on commit 1f7526b

Please sign in to comment.