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 None to the type specification #109

Merged
merged 1 commit into from
Aug 17, 2017
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions chainermn/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ def add_link(self, link, rank_in=None, rank_out=None):

Args:
link (chainer.Link): The link object to be registered.
rank_in (int or list):
rank_in (int, list, or None):
Ranks from which it receives data. If None is specified,
the model does not receive from any machines.
rank_out (int or list):
rank_out (int, list, or None):
Ranks to which it sends data. If None is specified,
the model will not send to any machine.
"""
Expand Down