Skip to content

Several ops support zero dim on GPU and CPU#49959

Merged
juncaipeng merged 2 commits into
PaddlePaddle:developfrom
juncaipeng:pjc_zero_dim_1
Feb 2, 2023
Merged

Several ops support zero dim on GPU and CPU#49959
juncaipeng merged 2 commits into
PaddlePaddle:developfrom
juncaipeng:pjc_zero_dim_1

Conversation

@juncaipeng
Copy link
Copy Markdown
Contributor

@juncaipeng juncaipeng commented Jan 20, 2023

PR types

Others

PR changes

Others

Describe

Several ops support zero dim on GPU and CPU

  • paddle.nn.functional.softmax
  • paddle.nn.functional.log_softmax
  • paddle.nn.functional.gumbel_softmax
  • paddle.nn.functional.prelu

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Jan 20, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Comment thread python/paddle/fluid/tests/unittests/test_zero_dim_tensor.py Outdated
Comment thread python/paddle/fluid/tests/unittests/test_zero_dim_tensor.py
Comment thread paddle/phi/infermeta/binary.cc Outdated
Comment thread python/paddle/nn/functional/activation.py
Comment thread paddle/phi/kernels/gpu/prelu_grad_kernel.cu
Comment thread python/paddle/fluid/tests/unittests/test_zero_dim_tensor.py
@juncaipeng juncaipeng merged commit 5db88d0 into PaddlePaddle:develop Feb 2, 2023
@juncaipeng juncaipeng deleted the pjc_zero_dim_1 branch February 2, 2023 06:11
pangengzheng pushed a commit to pangengzheng/Paddle that referenced this pull request Feb 2, 2023
* paddle.nn.functional.softmax
* paddle.nn.functional.log_softmax
* paddle.nn.functional.gumbel_softmax
* paddle.nn.functional.prelu
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.

3 participants