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

Add flatten/squeeze/expand_dims to auto mixed precision clear list and use reshape instead of reshape_like to do reshape grad computation #4015

Merged
merged 2 commits into from Dec 21, 2020

Conversation

leaves-zwx
Copy link
Contributor

  • add flatten/squeeze/expand_dims to auto mixed precision clear list
  • use reshape to compute grad for itself rather than reshape_like when input is a static tensor

@leaves-zwx leaves-zwx self-assigned this Dec 21, 2020
@leaves-zwx leaves-zwx marked this pull request as ready for review December 21, 2020 04:21
@oneflow-ci-bot oneflow-ci-bot removed their request for review December 21, 2020 07:16
@leaves-zwx leaves-zwx merged commit 3fdac14 into master Dec 21, 2020
@leaves-zwx leaves-zwx deleted the fix_reshape_issue branch December 21, 2020 13:12
liujuncheng pushed a commit that referenced this pull request Jun 3, 2021
…d use reshape instead of reshape_like to do reshape grad computation (#4015)

* add flatten/squeeze/expand_dims to auto mixed precision clear list

* user static reshap grad for static tensor

Former-commit-id: 3fdac14
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

2 participants