KEMBAR78
don't attempt to multiply by a sparse matrix by umanwizard · Pull Request #18737 · pytorch/pytorch · GitHub
Skip to content

Conversation

@umanwizard
Copy link
Contributor

Tested by running the script in #16562 , and there was no error.

Then:

>>> print(mat.grad)
tensor([[1., 2., 3.],
        [1., 2., 3.],
        [1., 2., 3.]])

which is correct.

@umanwizard umanwizard requested a review from gchanan April 2, 2019 16:12
@gchanan
Copy link
Contributor

gchanan commented Apr 2, 2019

more info please.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@umanwizard has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@umanwizard merged this pull request in d35c39e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants