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 const return support #1385

Closed
wants to merge 1 commit into from
Closed

Conversation

AndPuQing
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commented Sep 18, 2024

CLA assistant check
All committers have signed the CLA.

@Zheng-Bicheng
Copy link
Collaborator

Zheng-Bicheng commented Sep 19, 2024

请添加更加详细的单元测试

class BaseNet4(paddle.nn.Layer):
    def __init__(self):
        super(BaseNet3, self).__init__()

    def forward(self, inputs):
        if inputs == 1:
            return 1, 2
        else:
            return 2, 3

@Zheng-Bicheng
Copy link
Collaborator

Zheng-Bicheng commented Sep 19, 2024

顺便我看了下,这应该是黑客松的题目,报名了嘛?这边有一个一样的 PR

@luotao1
Copy link

luotao1 commented Sep 19, 2024

@AndPuQing 请问这个PR是参加黑客松第7期么?

@AndPuQing
Copy link
Contributor Author

@AndPuQing 请问这个PR是参加黑客松第7期么?

这个给另一个PR做吧

@AndPuQing AndPuQing closed this Sep 19, 2024
@AndPuQing AndPuQing deleted the IfElse branch September 19, 2024 06:06
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