[go: up one dir, main page]

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

Fix for non-contiguous grad_output in cuDNN conv #708

Merged
merged 1 commit into from
Feb 9, 2017
Merged

Conversation

apaszke
Copy link
Contributor
@apaszke apaszke commented Feb 9, 2017

I'll improve the tests to include non-contiguous inputs and grad outputs soon.

test/test_nn.py Outdated
output = module(input)

grad = torch.randn(2, 2, 5, 10, 10)[:, 1]
assert grad.is_contiguous()

This comment was marked as off-topic.

Copy link
Member
@colesbury colesbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@apaszke apaszke merged commit d9dccfd into master Feb 9, 2017
@apaszke apaszke deleted the cudnn_fix branch February 9, 2017 23:26
mrshenli pushed a commit to mrshenli/pytorch that referenced this pull request Apr 11, 2020
Make jit tutorial consistently using 4 spaces as indent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants