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

Avoid unnecessary copy in ndarray.astype #5547

Merged
merged 8 commits into from
Nov 5, 2018

Conversation

toslunar
Copy link
Member

This would improve the performance.

@toslunar toslunar changed the title [WIP] Avoid unnecessary copy in ndarray.astype Avoid unnecessary copy in ndarray.astype Nov 2, 2018
@toslunar
Copy link
Member Author

toslunar commented Nov 2, 2018

This PR does not fix difficult ones like xp.random.normal(...).astype(...), which could be fixed in other ways.

@toslunar
Copy link
Member Author

toslunar commented Nov 2, 2018

Jenkins, test this please.

@toslunar toslunar added cat:enhancement Implementation that does not break interfaces. to-be-backported Pull request that should be backported. labels Nov 2, 2018
@chainer-ci
Copy link
Member

Jenkins CI test (for commit febca9c, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

@toslunar
Copy link
Member Author

toslunar commented Nov 2, 2018

Jenkins, test this please.

@chainer-ci
Copy link
Member

Jenkins CI test (for commit 741d2c7, target branch master) succeeded!

@beam2d
Copy link
Member

beam2d commented Nov 5, 2018

LGTM

@beam2d beam2d merged commit 519a7da into chainer:master Nov 5, 2018
beam2d added a commit to beam2d/chainer that referenced this pull request Nov 5, 2018
Avoid unnecessary copy in `ndarray.astype`
@toslunar toslunar deleted the astype-nocopy branch November 6, 2018 02:22
@kmaehashi kmaehashi added this to the v6.0.0b1 milestone Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:enhancement Implementation that does not break interfaces. to-be-backported Pull request that should be backported.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants