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 strided_slice_grad op for npu #35204

Merged
merged 2 commits into from
Sep 1, 2021
Merged

add strided_slice_grad op for npu #35204

merged 2 commits into from
Sep 1, 2021

Conversation

baoachun
Copy link
Contributor

PR types

New features

PR changes

OPs

Describe

Add strided_slice_grad op for npu.
图片
图片

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

ops::StridedSliceNPUKernel<paddle::platform::NPUDeviceContext, int64_t>,
ops::StridedSliceNPUKernel<paddle::platform::NPUDeviceContext, float>,
ops::StridedSliceNPUKernel<paddle::platform::NPUDeviceContext, double>);
strided_slice_grad,
Copy link
Contributor

Choose a reason for hiding this comment

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

前向反向的type没有对齐,如果是因为Ascend库函数前反向类型没有对齐的原因,就可以忽略

Copy link
Contributor Author

Choose a reason for hiding this comment

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

刚看到资料里前向上没有bool类型的,前向注册类型可能需要改下。
图片

Copy link
Contributor

@jiweibo jiweibo left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@qili93 qili93 left a comment

Choose a reason for hiding this comment

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

LGTM

@jiweibo jiweibo merged commit 7743cdf into PaddlePaddle:develop Sep 1, 2021
@baoachun baoachun deleted the add_strided_slice_grad_op_npu branch December 31, 2021 07:27
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.

4 participants