fangfangssj

Results 2 comments of fangfangssj

符号推导部分可以参考这个https://github.com/PaddlePaddle/Paddle/issues/66444 ,写一下测试过覆盖率测试 CE-Franework可以使用PaddleTest/framework/api/run_paddle_ci.sh和PaddleTest/inference/python_api_test/parallel_run.sh在本地测试debug

> > 符号推导部分可以参考这个#66444 ,写一下测试过覆盖率测试 CE-Franework可以使用PaddleTest/framework/api/run_paddle_ci.sh和PaddleTest/inference/python_api_test/parallel_run.sh在本地测试debug > > 单测是有开启符号推导的。 ![image](https://private-user-images.githubusercontent.com/148307532/439580838-d6f03c23-47cd-4e05-aa93-62e9df0b6dcc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDYwOTc5NTgsIm5iZiI6MTc0NjA5NzY1OCwicGF0aCI6Ii8xNDgzMDc1MzIvNDM5NTgwODM4LWQ2ZjAzYzIzLTQ3Y2QtNGUwNS1hYTkzLTYyZTlkZjBiNmRjYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNTAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDUwMVQxMTA3MzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04NjE5NmU2YTc4N2UzYTE3MWZiMzU5MzZjNTFlOTk4YjRkOWRjZGRlM2VlOTU4NGNiNDdhZmQ1ZjdmYmY0YTJmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ppHb1BDuKxQDMlAQ0P26-awNEakeJwcQkqKe8ROUMAQ) > > ```python > def test_check_output(self): > self.check_output(check_pir=True) < --- check_symbol_infer 默认为true > ``` > > CE-Framework的测试是针对之前的api,所以会出现错误。 ![image](https://private-user-images.githubusercontent.com/148307532/439580308-bcd12763-30d5-4d73-9287-62b70dace992.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDYwOTc5NTgsIm5iZiI6MTc0NjA5NzY1OCwicGF0aCI6Ii8xNDgzMDc1MzIvNDM5NTgwMzA4LWJjZDEyNzYzLTMwZDUtNGQ3My05Mjg3LTYyYjcwZGFjZTk5Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNTAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDUwMVQxMTA3MzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YzQ0NzdmZjY2OGRjYWJiNjUxOWYyNjY5NTVhOGU2YzFkZTlhYzU3ZDk4NzJmMjAwY2I3YjIwNjYyMTY3NDIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ITmbRlwjaEmnp1a8gRuMtawyGzPBcoxOEqXUP8ilEq0) 好的好的