OpenVINO Paddle Frontend tests have the following structure:
test_models/gen_scripts/
- Python script to generate PaddlePaddle test models with handy helpers.standalone_build
- PaddlePaddle frontend standalone build test.- a couple of files - PaddlePaddle frontend operator set unit-test framework and Paddle frontend API unit-test written using Google Test.
OpenVINO Paddle Frontend is covered by tests from the binary paddle_tests
. This binary can be built by the target with the same name.
- Implement python script in
test_models/gen_scripts/
to get the PaddlePaddle test model and the reference inputs and outputs from PaddlePaddle. - Register the test case name to
tests/src/op_fuzzy.cpp
, which is part of the operator set unit-test framework.