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

CINN sub graph test - 5 #61275

Merged
merged 4 commits into from
Feb 2, 2024

Conversation

feifei-111
Copy link
Contributor

PR types

Others

PR changes

Others

Description

Add sub graph tests for cinn, part 5
pcard-76996

)
self.net = LayerCase()

def train(self, net, to_static, with_prim=False, with_cinn=False):
Copy link
Contributor

Choose a reason for hiding this comment

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

train 函数逻辑都是一样的,可以考虑在目录下单独一个TestBase来继承

Copy link
Contributor

@Aurelius84 Aurelius84 left a comment

Choose a reason for hiding this comment

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

LGTM

@Aurelius84 Aurelius84 merged commit 749bf45 into PaddlePaddle:develop Feb 2, 2024
29 of 30 checks passed
@feifei-111 feifei-111 deleted the CINN_sub_graph_tests_5 branch February 18, 2024 09:04
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.

2 participants