KEMBAR78
Improve float precision stability of `linspace` op, fix 4419. by sighingnow · Pull Request #4470 · pytorch/pytorch · GitHub
Skip to content

Conversation

@sighingnow
Copy link
Contributor

This patch swap the order * and / operation in linspace to improve float precision stability. This patch should fix the issue #4419 .

Signed-off-by: HE, Tao <sighingnow@gmail.com>
@soumith
Copy link
Member

soumith commented Jan 4, 2018

@pytorchbot test this please

@soumith soumith merged commit c43b120 into pytorch:master Jan 4, 2018
@soumith
Copy link
Member

soumith commented Jan 4, 2018

thank you @sighingnow !

@sighingnow sighingnow deleted the fix-linspace branch January 4, 2018 03:49
@soumith soumith added the 0.3.1 label Feb 5, 2018
soumith pushed a commit that referenced this pull request Feb 7, 2018
Signed-off-by: HE, Tao <sighingnow@gmail.com>
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.

3 participants