Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a utility function to draw a computational graph #166

Merged
merged 18 commits into from
Dec 1, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve docstring
  • Loading branch information
muupan committed Nov 15, 2017
commit ac2427599cec78abfba27995c56524bc5dee90ba
4 changes: 2 additions & 2 deletions chainerrl/misc/draw_computational_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def draw_computational_graph(outputs, filepath):
"""Draw a computational graph and write to a given file.

Args:
outputs (object): Output(s) of the computational graph. Each
item must be Variable, ActionValue, Distribution or list of them.
outputs (object): Output(s) of the computational graph. It must be
a Variable, an ActionValue, a Distribution or a list of them.
filepath (str): Filepath to write a graph without file extention.
A DOT file will be saved with ".gv" extension added.
If Graphviz's dot command is available, a PNG file will also be
Expand Down