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 autoscan test #836

Merged
merged 10 commits into from Jul 29, 2022
Merged

Conversation

wjj19950828
Copy link
Collaborator

@wjj19950828 wjj19950828 commented Jul 21, 2022

Create A Good Pull Request

下面的文字请保留在PR说明的最后面,并在提完PR后,根据实际情况勾选确认以下情况

Please check the follow step before merging this pull request

  • Python code style verification
  • Review all the code diff by yourself
  • All models(TensorFLow/Caffe/ONNX/PyTorch) testing passed
  • Details about your pull request, releated issues

If this PR add new model support, please update model_zoo.md and add model to out test model zoos(@wjj19950828)

  • New Model Supported
  • No New Model Supported

Do follow contributes

1、针对op粒度,添加autoscan单测系统
2、针对ONNX添加7-15 opset version
3、添加conv2d单测,修复下列问题(3个)

  • 之前当pad不对称会调用self._pad_if_asymmetric,从而conv2d会转成pad+conv2d,消除pad op,将pad处理传进conv2d op即可
  • auto_padSAME_UPPER或者SAME_LOWER时无法处理动态shape,加入assert
  • auto_padSAME_UPPER或者SAME_LOWER时,pad顺序其实不同,之前统一处理导致diff

4、添加Unsqueeze单测,支持7~15 opset version
5、添加enable_onnx_checker开关,是否开启onnx checker,默认开启

@jiangjiajun jiangjiajun merged commit 208a282 into PaddlePaddle:develop Jul 29, 2022
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.

None yet

2 participants