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 MultiNodeBatchNormalization #106

Merged
merged 20 commits into from
Aug 24, 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
Add checks to see that no exception raising
  • Loading branch information
iwiwi committed Aug 16, 2017
commit 71dd347f0c42c9931f6267b3925d6c6936ba00e9
7 changes: 6 additions & 1 deletion tests/links_tests/test_batch_normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ def setUp(self):
def test_version_check(self):
if chainer.__version__.startswith('1.'):
with self.assertRaises(RuntimeError):
chainermn.links.MultiNodeBatchNormalization(3, self.communicator)
chainermn.links.MultiNodeBatchNormalization(
3, self.communicator)
else:
# Expecting no exceptions
chainermn.links.MultiNodeBatchNormalization(
3, self.communicator)

def test_multi_node_bn(self):
if chainer.__version__.startswith('1.'):
Expand Down