[Zero-Dim] Support paddle.max output 0D, test=allcase by zhwesky2010 · Pull Request #53242 · PaddlePaddle/Paddle

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@zhwesky2010

Copy link

Contributor

@zhwesky2010 zhwesky2010 commented

Apr 23, 2023

edited

Loading

PR types

New features

PR changes

APIs

Description

Pcard-66984

支持以下API输出0D:

1. paddle.max

同时修改了一些兼容态的写法,例如将一些 loss.numpy()[0] 改成兼容态的 float(loss) 形式,在[1]和[]下均能运行。

@paddle-bot

Copy link

paddle-bot bot commented

Apr 23, 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.

@paddle-bot

Copy link

paddle-bot bot commented

Apr 23, 2023

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

Copy link

Contributor

@jeff41404 jeff41404 left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jeff41404 jeff41404 jeff41404 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@zhwesky2010 @jeff41404