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

Migrate cast_to_static_shape to user op #4095

Merged
merged 8 commits into from
Jan 11, 2021

Conversation

leaves-zwx
Copy link
Contributor

添加新的 cast_to_static_shape user op 和 user kernel,删除老的 CastToStaticShapeOp 和 CastToStaticShapeKernel

@oneflow-ci-bot oneflow-ci-bot removed their request for review January 8, 2021 14:57
@oneflow-ci-bot oneflow-ci-bot removed their request for review January 8, 2021 20:07
Copy link
Collaborator

@liujuncheng liujuncheng left a comment

Choose a reason for hiding this comment

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

添加到 amp clear list 里面去吧

@oneflow-ci-bot oneflow-ci-bot removed their request for review January 10, 2021 19:15
@leaves-zwx leaves-zwx merged commit 2f2d45b into master Jan 11, 2021
@leaves-zwx leaves-zwx deleted the dev_cast_to_static_shape_user_op branch January 11, 2021 03:44
liujuncheng pushed a commit that referenced this pull request Jun 3, 2021
* add cast_to_static_shape user op

* delete old cast_to_static_shape op

* revert identity_op.cpp and delete CastToStaticShapeOp

* fix bugs

* add cast_to_static_shape to auto mixed precision clear list

* add grad fn

Former-commit-id: 2f2d45b
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.

2 participants