Skip to content

Conversation

@Le-soleile
Copy link
Contributor

PR Category

Performance Optimization

PR Types

Bug fixes

Description

新增paddle/phi/kernels/sequence_expand_kernel.h
修改paddle/phi/kernels/cpu/sequence_expand_kernel.cc、paddle/phi/kernels/gpu/sequence_expand_kernel.cu

DenseTensor* out);

template <typename T, typename Context>
void SequenceExpandGradKernel(const Context& dev_ctx,
Copy link
Contributor

Choose a reason for hiding this comment

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

grad应当单独声明在另一个头文件中,不应当与SequenceExpandKernel写在一起

@paddle-bot paddle-bot bot added the contributor External developers label Sep 28, 2025
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Sep 29, 2025
Copy link
Contributor

@YqGe585 YqGe585 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit b417df6 into PaddlePaddle:develop Sep 30, 2025
67 of 68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants