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

Convert inputs of batchnormalization.backward() to be C-contiguous (master) #2582

Merged
merged 2 commits into from Apr 18, 2017

Conversation

soramichi
Copy link
Contributor

Changed the target branch of #2580 to master.

Also I added tests that use non-c-contiguous inputs as suggested in the comments in #2580. A new argument (param_shape = (3,)) is added because cudnn is used only if x.ndim == 4 and head_ndim == 2, which requires len(param_shape) == 1 (or if x.ndim == 2, which requires param_shape == () but it causes some inconsistency with the existing test codes).

@unnonouno unnonouno self-assigned this Apr 18, 2017
@unnonouno unnonouno added this to the v1.24.0 milestone Apr 18, 2017
@unnonouno unnonouno added the cat:bug Bug report or fix. label Apr 18, 2017
@unnonouno unnonouno merged commit 6b42d0d into chainer:master Apr 18, 2017
@unnonouno
Copy link
Member

Thank you!

@soramichi soramichi deleted the batchnorm_c_contiguous branch April 18, 2017 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:bug Bug report or fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants